1
0

wallet: (fix) synchronizer would also resub closed wallets...

network cb was not removed, so Synchronizer and the wallet itself was
kept in memory; and Synchronizer kept working
This commit is contained in:
SomberNight
2019-05-14 17:04:03 +02:00
parent 6cc70bc7a2
commit e415c0d930
2 changed files with 6 additions and 2 deletions

View File

@@ -296,7 +296,7 @@ class ElectrumGui(Logger):
self.daemon.add_wallet(wallet)
return wallet
def close_window(self, window):
def close_window(self, window: ElectrumWindow):
if window in self.windows:
self.windows.remove(window)
self.build_tray_menu()