Hide the system tray icon before closing

This commit is contained in:
Micah Lee 2019-09-20 18:42:40 -07:00
parent e21bf3e80b
commit 2022b2b2af
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -540,6 +540,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
def closeEvent(self, e):
self.common.log('OnionShareGui', 'closeEvent')
self.system_tray.hide()
try:
if self.mode == OnionShareGui.MODE_SHARE:
server_status = self.share_mode.server_status