From 59b46414a4b8c4bdf45a9e8ad0b525341ee1c2e5 Mon Sep 17 00:00:00 2001 From: lionel Date: Mon, 25 Jan 2016 15:33:33 +0100 Subject: [PATCH] Patch : thread is now dying with its parent --- horusd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/horusd.py b/horusd.py index 8f794bd..dbaaec4 100755 --- a/horusd.py +++ b/horusd.py @@ -114,6 +114,7 @@ class App(): Launching the heartbeat function ''' p = Process(target=heartbeat, args=(2,)) + p.daemon = True p.start() heartbeat_pid = p.pid logger.info("heartbeat loop launched (pid " + str(heartbeat_pid) + ")") -- 2.39.2