mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
daemon: suppress pop wallet failure
follow-up 3ec0ceba3e
related: #4126
This commit is contained in:
parent
cedd518aea
commit
d50b36d314
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ class Daemon(DaemonThread):
|
||||||
return self.wallets.get(path)
|
return self.wallets.get(path)
|
||||||
|
|
||||||
def stop_wallet(self, path):
|
def stop_wallet(self, path):
|
||||||
wallet = self.wallets.pop(path)
|
wallet = self.wallets.pop(path, None)
|
||||||
|
if not wallet: return
|
||||||
wallet.stop_threads()
|
wallet.stop_threads()
|
||||||
|
|
||||||
def run_cmdline(self, config_options):
|
def run_cmdline(self, config_options):
|
||||||
|
|
Loading…
Add table
Reference in a new issue