Commit 3494f958 authored by Chris Snijder's avatar Chris Snijder 🏅
Browse files

Stop idling threads much faster.

parent cd59eb01
Pipeline #5544 passed with stages
in 2 minutes and 5 seconds
......@@ -307,6 +307,7 @@ class Stapledaemon(object):
# Stop threads that have empty queues..
for thread in threads:
thread.stop = True
for thread in threads:
while thread.is_alive():
yield False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment