mailr11822 - /branches/bieri_gui/gui_bieri/relax_gui.py


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

Header


Content

Posted by michael . bieri on December 15, 2010 - 00:56:
Author: michaelbieri
Date: Wed Dec 15 00:56:30 2010
New Revision: 11822

URL: http://svn.gna.org/viewcvs/relax?rev=11822&view=rev
Log:
relaxGUI job is killed upon exiting the program.

This is to completely kill running threads, which can't be controlled under 
Python. The error was detected by Edward d'Auvergne reported at 
https://gna.org/bugs/index.php?17317.

Modified:
    branches/bieri_gui/gui_bieri/relax_gui.py

Modified: branches/bieri_gui/gui_bieri/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_gui.py?rev=11822&r1=11821&r2=11822&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/relax_gui.py (original)
+++ branches/bieri_gui/gui_bieri/relax_gui.py Wed Dec 15 00:56:30 2010
@@ -362,16 +362,8 @@
             text = text + '\n'
             sys.__stdout__.write(text)
 
-            # Destroy all dialogs.
-            self.controller.Destroy()
-            self.dialog_about_gui.Destroy()
-            self.dialog_about_relax.Destroy()
-            self.relax_prompt.Destroy()
-            self.mol_res_spin_tree.Destroy()
-            self.user_functions.destroy()
-
-            # Destroy the main window.
-            self.Destroy()
+            # End application.
+            sys.exit()
 
 
     def import_seq(self, event):




Related Messages


Powered by MHonArc, Updated Wed Dec 15 01:20:02 2010