Make thread in precise runner a daemon
Shouldn't be responsible for hanging when the program exitspull/81/head
parent
e17cebdd17
commit
d2d9c34931
|
@ -183,7 +183,7 @@ class PreciseRunner(object):
|
||||||
self.engine.start()
|
self.engine.start()
|
||||||
self.running = True
|
self.running = True
|
||||||
self.is_paused = False
|
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.daemon = True
|
||||||
self.thread.start()
|
self.thread.start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue