summaryrefslogtreecommitdiff
path: root/flup/server/threadpool.py
diff options
context:
space:
mode:
Diffstat (limited to 'flup/server/threadpool.py')
-rw-r--r--flup/server/threadpool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/flup/server/threadpool.py b/flup/server/threadpool.py
index 5d4f0be..88efa70 100644
--- a/flup/server/threadpool.py
+++ b/flup/server/threadpool.py
@@ -56,6 +56,7 @@ class ThreadPool(object):
def _start_new_thread(self):
t = threading.Thread(target=self._worker)
self._threads.append(t)
+ t.daemon = True
t.start()
return t