mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +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:
|
||||
self.thread = threading.Thread(name='sheduler_process',
|
||||
target=self._process)
|
||||
self.thread.daemon = True
|
||||
self.thread.start()
|
||||
else:
|
||||
self._process()
|
||||
|
|
Loading…
Reference in a new issue