mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
restore lock in storage.write (follow up to b5e0363f
)
This commit is contained in:
parent
5a5cc97045
commit
0fe410d7e6
1 changed files with 3 additions and 4 deletions
|
@ -119,7 +119,6 @@ class WalletStorage(PrintError):
|
|||
assert not threading.currentThread().isDaemon()
|
||||
if not self.modified:
|
||||
return
|
||||
with self.lock:
|
||||
s = json.dumps(self.data, indent=4, sort_keys=True)
|
||||
temp_path = "%s.tmp.%s" % (self.path, os.getpid())
|
||||
with open(temp_path, "w") as f:
|
||||
|
|
Loading…
Add table
Reference in a new issue