make threads daemon threads

This commit is contained in:
Clint Armstrong
2015-09-09 15:07:55 -04:00
parent d76e9e7889
commit ae8d29c4b6

View File

@@ -291,6 +291,7 @@ def poll_worker(thread_id):
t = []
for i in range(0, amount_of_workers):
t.append(threading.Thread(target=poll_worker, args=[i]))
t[i].daemon = True
t[i].start()