Labels plugin: drop wallet on window close

Will help GC
This commit is contained in:
Neil Booth 2015-11-12 11:29:53 +09:00
parent 8cc3b58364
commit d1cd6d5645

View file

@ -53,6 +53,9 @@ class Plugin(BasePlugin):
t.setDaemon(True)
t.start()
def on_close_window(self, window):
self.wallets.pop(window.wallet)
def version(self):
return "0.0.1"