Daemonize receiver thread.
This commit is contained in:
parent
d690e44194
commit
b3d15c7117
|
@ -180,6 +180,7 @@ class Core(
|
||||||
self._on_alert_torrent_paused)
|
self._on_alert_torrent_paused)
|
||||||
|
|
||||||
t = threading.Thread(target=self.serve_forever)
|
t = threading.Thread(target=self.serve_forever)
|
||||||
|
t.setDaemon(True)
|
||||||
t.start()
|
t.start()
|
||||||
gobject.threads_init()
|
gobject.threads_init()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue