mailr27470 - /trunk/gui/analyses/auto_model_free.py


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

Header


Content

Posted by edward on February 03, 2015 - 15:23:
Author: bugman
Date: Tue Feb  3 15:23:32 2015
New Revision: 27470

URL: http://svn.gna.org/viewcvs/relax?rev=27470&view=rev
Log:
Improved memory management in the model-free GUI analysis.

The analysis mode selection window (a wx.Dialog) is now being destroyed in 
the analysis delete()
method.  This appears to work on Linux, Windows, and Mac systems.


Modified:
    trunk/gui/analyses/auto_model_free.py

Modified: trunk/gui/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/analyses/auto_model_free.py?rev=27470&r1=27469&r2=27470&view=diff
==============================================================================
--- trunk/gui/analyses/auto_model_free.py       (original)
+++ trunk/gui/analyses/auto_model_free.py       Tue Feb  3 15:23:32 2015
@@ -566,6 +566,10 @@
         if hasattr(self, 'dipole_wizard'):
             self.dipole_wizard.Destroy()
             del self.dipole_wizard
+
+        # Destroy the mode selection window.
+        self.mode_win.Destroy()
+        del self.mode_win
 
 
     def execute(self, event=None):




Related Messages


Powered by MHonArc, Updated Tue Feb 03 15:40:02 2015