Author: bugman Date: Mon Oct 15 17:14:26 2012 New Revision: 17815 URL: http://svn.gna.org/viewcvs/relax?rev=17815&view=rev Log: The GUI is now cleanly exited with a call to wx.App.ExitMainLoop rather than wx.Exit. Modified: trunk/gui/relax_gui.py Modified: trunk/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=17815&r1=17814&r2=17815&view=diff ============================================================================== --- trunk/gui/relax_gui.py (original) +++ trunk/gui/relax_gui.py Mon Oct 15 17:14:26 2012 @@ -451,8 +451,9 @@ if hasattr(self, 'taskbar_icon'): self.taskbar_icon.Destroy() - # End application. - wx.Exit() + # End the GUI main loop. + app = wx.GetApp() + app.ExitMainLoop() def init_data(self):