mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-27 02:20:32 +00:00
Fix #1218 improper use of callLater
This commit is contained in:
parent
8e4d88f03c
commit
4be615b084
@ -160,7 +160,7 @@ class TrackerIcons(component.Component):
|
|||||||
self.images[tracker_host] = filename
|
self.images[tracker_host] = filename
|
||||||
|
|
||||||
if callback:
|
if callback:
|
||||||
reactor.callLater(0, callback, filename)
|
reactor.callFromThread(callback, filename)
|
||||||
|
|
||||||
def get_async(self, tracker_host, callback):
|
def get_async(self, tracker_host, callback):
|
||||||
if tracker_host in self.images:
|
if tracker_host in self.images:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user