1
0

qt exception window: turn Exception_Hook into singleton

related #4905
related Electron-Cash/Electron-Cash@6a3d76b0ab

conceptually did not really make sense that the Exception_Hook kept a reference
to an ~arbitrary main window (preventing gc)
This commit is contained in:
SomberNight
2020-05-01 06:33:38 +02:00
parent 2b1a150c52
commit 2105c6c4e6
3 changed files with 36 additions and 16 deletions

View File

@@ -132,7 +132,7 @@ class BaseCrashReporter(Logger):
def get_user_description(self):
raise NotImplementedError
def get_wallet_type(self):
def get_wallet_type(self) -> str:
raise NotImplementedError