diff options
-rw-r--r-- | flup/server/threadpool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flup/server/threadpool.py b/flup/server/threadpool.py index 88efa70..98d3afe 100644 --- a/flup/server/threadpool.py +++ b/flup/server/threadpool.py @@ -56,7 +56,7 @@ class ThreadPool(object): def _start_new_thread(self): t = threading.Thread(target=self._worker) self._threads.append(t) - t.daemon = True + t.setDaemon(True) t.start() return t |