Stopping workers should not clear their count (may fix #686)

This commit is contained in:
Lonami Exo 2018-03-15 10:29:12 +01:00
parent 1e3120b0b6
commit b20aa0ccc9

View File

@ -80,6 +80,7 @@ class UpdateState:
t.join()
self._worker_threads.clear()
self._workers = n
def setup_workers(self):
if self._worker_threads or not self._workers: