mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Fix acllist unlock
This commit is contained in:
parent
a89b0e5012
commit
08b3361330
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ func (s *storage) Set(ctx context.Context, key string, value []byte) error {
|
||||||
readKeyId := state.CurrentReadKeyId()
|
readKeyId := state.CurrentReadKeyId()
|
||||||
err := s.readKeysFromAclState(state)
|
err := s.readKeysFromAclState(state)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
s.aclList.RUnlock()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
s.aclList.RUnlock()
|
s.aclList.RUnlock()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue