We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c18b5 commit 494f9aeCopy full SHA for 494f9ae
MongoBackup/Common/Lock.py
@@ -27,4 +27,5 @@ def release(self):
27
if self._lock:
28
logging.debug("Releasing exclusive lock on file: %s" % self.lock_file)
29
self._lock.close()
30
+ self._lock = None
31
return os.remove(self.lock_file)
0 commit comments