Skip to content

Commit b7ffb38

Browse files
authored
Fix lock removal from active locks list
1 parent 504141b commit b7ffb38

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dirlock/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def _clean_locks():
4040
locks_to_release = list(_allActiveLocks)
4141
for dl in locks_to_release:
4242
dl.release()
43-
_allActiveLocks.remove(dl)
4443

4544

4645
def handle_sigint_cleanup(signum, frame):

0 commit comments

Comments
 (0)