diff --git a/radicale/storage/multifilesystem_nolock.py b/radicale/storage/multifilesystem_nolock.py index 3653de8..f86e7ad 100644 --- a/radicale/storage/multifilesystem_nolock.py +++ b/radicale/storage/multifilesystem_nolock.py @@ -81,6 +81,7 @@ class LockDict: yield finally: with self._lock: + assert waiters[0] is waiter and self._dict[key] is waiters del waiters[0] if waiters: waiters[0].release()