From 97002a8803779d046a82c567c98bb22796a36784 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 4 Aug 2017 17:19:48 -0700 Subject: [PATCH] Not sure why it was commented out, but the taskbar icon needs to be destroyed in order for the MainLoop to exit normally. --- demo/Main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/Main.py b/demo/Main.py index 79364bfc..f8c737d1 100644 --- a/demo/Main.py +++ b/demo/Main.py @@ -2478,8 +2478,8 @@ class wxPythonDemo(wx.Frame): self.mainmenu = None self.StopDownload() - # if self.tbicon is not None: - # self.tbicon.Destroy() + if self.tbicon is not None: + self.tbicon.Destroy() config = GetConfig() config.Write('ExpansionState', str(self.tree.GetExpansionState()))