Make thread in precise runner a daemon

Shouldn't be responsible for hanging when the program exits
pull/81/head
Matthew D. Scholefield 2019-05-01 01:03:11 -05:00
parent e17cebdd17
commit d2d9c34931
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class PreciseRunner(object):
self.engine.start()
self.running = True
self.is_paused = False
self.thread = Thread(target=self._handle_predictions)
self.thread = Thread(target=self._handle_predictions, daemon=True)
self.thread.daemon = True
self.thread.start()