mailr27473 - /trunk/test_suite/gui_tests/base_classes.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:44:
Author: bugman
Date: Tue Feb  3 15:44:55 2015
New Revision: 27473

URL: http://svn.gna.org/viewcvs/relax?rev=27473&view=rev
Log:
Fix for the previous commit (r27472).

Calls to wx.Yield() are required to flush the calls on the observer objects 
after unregisteristing
them and deleting the results and pipe editor windows.


Modified:
    trunk/test_suite/gui_tests/base_classes.py

Modified: trunk/test_suite/gui_tests/base_classes.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=27473&r1=27472&r2=27473&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/base_classes.py  (original)
+++ trunk/test_suite/gui_tests/base_classes.py  Tue Feb  3 15:44:55 2015
@@ -170,12 +170,14 @@
         # Kill the pipe editor window.
         if hasattr(self.app.gui, 'pipe_editor'):
             self.app.gui.pipe_editor.handler_close()
+            wx.Yield()
             self.app.gui.pipe_editor.Destroy()
             del self.app.gui.pipe_editor
 
         # Kill the results viewer window.
         if hasattr(self.app.gui, 'results_viewer'):
             self.app.gui.results_viewer.handler_close()
+            wx.Yield()
             self.app.gui.results_viewer.Destroy()
             del self.app.gui.results_viewer
 




Related Messages


Powered by MHonArc, Updated Tue Feb 03 16:00:02 2015