summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-04-11 14:22:32 -0400
committerLance Stout <lancestout@gmail.com>2011-04-11 14:22:32 -0400
commit1d891858b63c1e3ac10a39920c3e65159cfc8d72 (patch)
tree8654adb2013012189f3b798e4b952ade78b5bb04
parentf02b0564e0cf664364cd6694a5df6d588071ec62 (diff)
downloadslixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.gz
slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.bz2
slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.xz
slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.zip
Mark scheduler thread as a daemon.
-rw-r--r--sleekxmpp/xmlstream/scheduler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/scheduler.py b/sleekxmpp/xmlstream/scheduler.py
index 0e711b4b..12deeddf 100644
--- a/sleekxmpp/xmlstream/scheduler.py
+++ b/sleekxmpp/xmlstream/scheduler.py
@@ -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()