daemon: suppress pop wallet failure
follow-up 3ec0ceba3e
related: #4126
This commit is contained in:
parent
cedd518aea
commit
d50b36d314
@ -251,7 +251,8 @@ class Daemon(DaemonThread):
|
||||
return self.wallets.get(path)
|
||||
|
||||
def stop_wallet(self, path):
|
||||
wallet = self.wallets.pop(path)
|
||||
wallet = self.wallets.pop(path, None)
|
||||
if not wallet: return
|
||||
wallet.stop_threads()
|
||||
|
||||
def run_cmdline(self, config_options):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user