E&S CVS Commit: Trellis - Fix an intermittent issue with the wx
event loop test, where
pje at eby-sarna.com
pje at eby-sarna.com
Mon Oct 6 11:21:56 EDT 2008
Author: pje
Date: Mon Oct 6 11:21:51 2008
New Revision: 2580
URL: http://svn.eby-sarna.com?rev=2580&view=rev
Log:
Fix an intermittent issue with the wx event loop test, where
it would lock up if the sub-millisecond event needed to be
scheduled. Apparently, once a wx app's MainLoop() has exited,
timed callbacks no longer work. So, to fix the test, a dummy
Frame is created, so the MainLoop() won't exit until the test
is finished. Also, ensure that if the MainLoop *does* exit,
Time.tick() still gets called until the EventLoop is stopped.
Modified:
Trellis/peak/events/activity.py
Trellis/test_trellis.py
More information about the source-changes
mailing list