mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07: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:
|
if hasattr(self, "_lockfile") and self._lockfile:
|
||||||
self._lockfile.release()
|
self._lockfile.release()
|
||||||
|
|
||||||
|
def __del__(self):
|
||||||
|
self._unlock_state_file()
|
||||||
|
|
||||||
# Dictionary Proxy
|
# Dictionary Proxy
|
||||||
|
|
||||||
def as_dict(self):
|
def as_dict(self):
|
||||||
|
Reference in New Issue
Block a user