Browse Source

daemon: suppress pop wallet failure

follow-up 3ec0ceba3e
related: #4126
3.3.3.1
SomberNight 6 years ago
parent
commit
d50b36d314
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/daemon.py

3
electrum/daemon.py

@ -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…
Cancel
Save