Author: rshortt
Date: Tue Jan 29 14:48:46 2008
New Revision: 3013

Log:
Call doIteration(t) before runUntilCurrent() since doIteration can block.


Modified:
   trunk/base/src/notifier/pynotifier/nf_twisted.py

Modified: trunk/base/src/notifier/pynotifier/nf_twisted.py
==============================================================================
--- trunk/base/src/notifier/pynotifier/nf_twisted.py    (original)
+++ trunk/base/src/notifier/pynotifier/nf_twisted.py    Tue Jan 29 14:48:46 2008
@@ -216,10 +216,10 @@
 def step(sleep = True, external = True, simulate = False):
     if reactor.running:
         try:
-            reactor.runUntilCurrent()
             t2 = reactor.timeout()
             t = reactor.running and t2
             reactor.doIteration(t)
+            reactor.runUntilCurrent()
         except:
             log.error("problem running reactor - exiting")
             raise SystemExit

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to