diff --git a/frontends/src/wix/main_window.py b/frontends/src/wix/main_window.py index 41045846..625cb41b 100644 --- a/frontends/src/wix/main_window.py +++ b/frontends/src/wix/main_window.py @@ -477,6 +477,7 @@ class MainWindow(wx.Frame, QuickApp): info(_("Exiting...")) for win in self.chat_wins: self.chat_wins[win].Destroy() + self.tray_icon.Destroy() e.Skip() def onTrayClick(self, e): diff --git a/frontends/src/wix/wix b/frontends/src/wix/wix index d99ea91f..a8491658 100755 --- a/frontends/src/wix/wix +++ b/frontends/src/wix/wix @@ -20,7 +20,6 @@ import wx from sat_frontends.bridge.DBus import DBusBridgeFrontend -import pdb import logging from logging import debug, info, error from sat_frontends.wix.main_window import MainWindow