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:
MaZderMind 2014-06-02 11:24:03 +02:00
parent cb08e01748
commit 4e2facd917

View file

@ -458,12 +458,4 @@ while True:
# sleep while the workers work # sleep while the workers work
time.sleep(1) 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" print "all worker threads ended"