mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Mark scheduler thread as a daemon.
This commit is contained in:
parent
f02b0564e0
commit
1d891858b6
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ class Scheduler(object):
|
||||||
if threaded:
|
if threaded:
|
||||||
self.thread = threading.Thread(name='sheduler_process',
|
self.thread = threading.Thread(name='sheduler_process',
|
||||||
target=self._process)
|
target=self._process)
|
||||||
|
self.thread.daemon = True
|
||||||
self.thread.start()
|
self.thread.start()
|
||||||
else:
|
else:
|
||||||
self._process()
|
self._process()
|
||||||
|
|
Loading…
Reference in a new issue