mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Free lock when state is deleted
This commit is contained in:
@ -129,6 +129,9 @@ class State(object):
|
||||
if hasattr(self, "_lockfile") and self._lockfile:
|
||||
self._lockfile.release()
|
||||
|
||||
def __del__(self):
|
||||
self._unlock_state_file()
|
||||
|
||||
# Dictionary Proxy
|
||||
|
||||
def as_dict(self):
|
||||
|
Reference in New Issue
Block a user