mailr17816 - /trunk/gui/relax_gui.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 15, 2012 - 17:24:
Author: bugman
Date: Mon Oct 15 17:24:36 2012
New Revision: 17816

URL: http://svn.gna.org/viewcvs/relax?rev=17816&view=rev
Log:
Even cleaner exiting of the GUI - the interpreter thread is terminated by the 
exit_gui() method.


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=17816&r1=17815&r2=17816&view=diff
==============================================================================
--- trunk/gui/relax_gui.py (original)
+++ trunk/gui/relax_gui.py Mon Oct 15 17:24:36 2012
@@ -451,6 +451,9 @@
             if hasattr(self, 'taskbar_icon'):
                 self.taskbar_icon.Destroy()
 
+            # Terminate the interpreter thread to allow for a cleaner exit.
+            self.interpreter.exit()
+
             # End the GUI main loop.
             app = wx.GetApp()
             app.ExitMainLoop()




Related Messages


Powered by MHonArc, Updated Mon Oct 15 18:20:01 2012