Labels plugin: drop wallet on window close
Will help GC
This commit is contained in:
@@ -53,6 +53,9 @@ class Plugin(BasePlugin):
|
|||||||
t.setDaemon(True)
|
t.setDaemon(True)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
||||||
|
def on_close_window(self, window):
|
||||||
|
self.wallets.pop(window.wallet)
|
||||||
|
|
||||||
def version(self):
|
def version(self):
|
||||||
return "0.0.1"
|
return "0.0.1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user