From d2d9c34931361ac0db66f38f2ecd3033544c5031 Mon Sep 17 00:00:00 2001 From: "Matthew D. Scholefield" Date: Wed, 1 May 2019 01:03:11 -0500 Subject: [PATCH] Make thread in precise runner a daemon Shouldn't be responsible for hanging when the program exits --- runner/precise_runner/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/precise_runner/runner.py b/runner/precise_runner/runner.py index 15a1730..74066b7 100644 --- a/runner/precise_runner/runner.py +++ b/runner/precise_runner/runner.py @@ -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()