Make thread in precise runner a daemon
Shouldn't be responsible for hanging when the program exits
This commit is contained in:
parent
e17cebdd17
commit
d2d9c34931
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user