Commit 406499f5 authored by Paul Rich's avatar Paul Rich
Browse files

Setting daemon flag on thread to ensure component termination.

parent 8b70d4db
......@@ -173,6 +173,7 @@ class CraySystem(BaseSystem):
self.node_update_thread_dead = False
self.logger.info("_run_update_state thread starting.")
self.node_update_thread = threading.Thread(target=self._run_update_state)
self.node_update_thread.daemon = True
self.node_update_thread.start()
self.logger.info("_run_update_state thread started:%s", self.node_update_thread)
self.killing_jobs = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment