remove broken worker-thread-count-check, Keyboard-interrupts are handled anyways and inkscape-errors are printed while it's now up to you to kill the master-thread then
This commit is contained in:
parent
cb08e01748
commit
4e2facd917
1 changed files with 0 additions and 8 deletions
|
@ -458,12 +458,4 @@ while True:
|
|||
# sleep while the workers work
|
||||
time.sleep(1)
|
||||
|
||||
# check if all worker-threads are still alive
|
||||
thread_count = len(filter(lambda t: t.is_alive(), threads))
|
||||
|
||||
# exit otherwise
|
||||
if thread_count != num_worker_threads:
|
||||
tprint("{0} of {1} threads have died, ending".format(num_worker_threads - thread_count, num_worker_threads))
|
||||
sys.exit(23)
|
||||
|
||||
print "all worker threads ended"
|
||||
|
|
Loading…
Add table
Reference in a new issue