Mark scheduler thread as a daemon.

This commit is contained in:
Lance Stout 2011-04-11 14:22:32 -04:00
parent f02b0564e0
commit 1d891858b6

View file

@ -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()