diff options
author | Lance Stout <lancestout@gmail.com> | 2011-04-11 14:22:32 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-04-11 14:22:32 -0400 |
commit | 1d891858b63c1e3ac10a39920c3e65159cfc8d72 (patch) | |
tree | 8654adb2013012189f3b798e4b952ade78b5bb04 /sleekxmpp/xmlstream | |
parent | f02b0564e0cf664364cd6694a5df6d588071ec62 (diff) | |
download | slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.gz slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.bz2 slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.tar.xz slixmpp-1d891858b63c1e3ac10a39920c3e65159cfc8d72.zip |
Mark scheduler thread as a daemon.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r-- | sleekxmpp/xmlstream/scheduler.py | 1 |
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() |