Author: tack
Date: Thu Jan 17 16:07:03 2008
New Revision: 2973
Log:
Use emit_when_handled so that finished() may be called before a handler has
connected yet.
Modified:
trunk/base/src/notifier/async.py
Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py (original)
+++ trunk/base/src/notifier/async.py Thu Jan 17 16:07:03 2008
@@ -141,7 +141,7 @@
self._result = result
self._exception = None
# emit signal
- self.emit(result)
+ self.emit_when_handled(result)
# cleanup
self._callbacks = []
self.exception_handler = None
@@ -165,7 +165,7 @@
self.is_finished = True
self._exception = e
# emit signal
- self.exception_handler.emit(e)
+ self.exception_handler.emit_when_handled(e)
# cleanup
self._callbacks = []
self.exception_handler = None
-------------------------------------------------------------------------
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