Skip to content

Commit

Permalink
Remove the lock file before releasing it.
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuramachandran committed Sep 26, 2024
1 parent fe6a8cc commit a4444f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compyle/ext_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def _lock(self, timeout=90):
try:
yield
finally:
self.lck.release()
if exists(self.lock_path):
os.remove(self.lock_path)
self.lck.release()

def _write_source(self, path):
if not exists(path):
Expand Down

0 comments on commit a4444f7

Please sign in to comment.