Author: tack
Date: Sun Feb 10 19:10:08 2008
New Revision: 3042
Log:
Dummy handler not needed anymore.
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 Sun Feb 10 19:10:08 2008
@@ -243,11 +243,6 @@
# unless the thread notifier pipe is initialized.
set_as_mainthread()
- # Connect a dummy handler to prevent any exception from being logged in
- # throw(). It will get raised later when we call get_result().
- dummy_handler = lambda *args: False
- self.exception.connect_once(dummy_handler)
-
if is_mainthread():
# We're waiting in the main thread, so we must keep the mainloop
# alive by calling step() until we're finished.
@@ -266,7 +261,6 @@
self._finished_event.wait(timeout)
if not self.is_finished():
- self.exception.disconnect(dummy_handler)
raise TimeoutException
return self.get_result()
-------------------------------------------------------------------------
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