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):
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits