Module: deluge
Branch: master
Commit: 4be615b084bab34cc2c472299d1c46b6c5bc451a

Author: Andrew Resch <[email protected]>
Date:   Thu Apr  8 15:00:07 2010 -0700

Fix #1218 improper use of callLater

---

 deluge/ui/tracker_icons.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py
index afc48e1..6ce7906 100644
--- a/deluge/ui/tracker_icons.py
+++ b/deluge/ui/tracker_icons.py
@@ -160,7 +160,7 @@ class TrackerIcons(component.Component):
         self.images[tracker_host] = filename
 
         if callback:
-            reactor.callLater(0, callback, filename)
+            reactor.callFromThread(callback, filename)
 
     def get_async(self, tracker_host, callback):
         if tracker_host in self.images:

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to