This commit is contained in:
Robert Miles 2019-06-24 00:32:40 -04:00
commit a33932a0ea
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class TaskPool:
exit(0)
def run(self):
if self.thread.is_alive(): return # don't set up an already set-up thread
self.thread.daemon = True
self.thread.start()