1
0
Fork 0
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:
Mikhail Rakhmanov 2025-04-08 11:05:29 +02:00
parent a89b0e5012
commit 08b3361330
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -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()