From 9e21a980ccd3fcab5a21153e073167457d2eddac Mon Sep 17 00:00:00 2001 From: fuzzgun Date: Sat, 11 May 2013 18:18:43 +0100 Subject: [PATCH] Unregister messaging menu entry on exit --- src/bitmessageqt/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index e158d3c7..02e5741b 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -1569,6 +1569,9 @@ class MyForm(QtGui.QMainWindow): else: event.ignore()''' shared.doCleanShutdown() + # unregister the messaging system + if self.mmapp is not None: + self.mmapp.unregister() self.trayIcon.hide() self.statusBar().showMessage('All done. Closing user interface...') event.accept()