mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix #1218 improper use of callLater
This commit is contained in:
parent
8e4d88f03c
commit
4be615b084
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue