Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions msal_extensions/cache_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __enter__(self):
self._fh.write('{} {}'.format(pid, sys.argv[0]).encode('utf-8'))

def __exit__(self, *args):
portalocker.unlock(self._fh)
self._fh.close()
try:
# Attempt to delete the lockfile. In either of the failure cases enumerated below, it is
Expand Down