From 96111fc62e0fb6cc0bbefbb96c610957347730cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 23 Dec 2016 16:47:00 +0100 Subject: [PATCH] cht is daemonic --- coolamqp/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/coolamqp/handler.py b/coolamqp/handler.py index 187f25c..f823639 100644 --- a/coolamqp/handler.py +++ b/coolamqp/handler.py @@ -31,6 +31,7 @@ class ClusterHandlerThread(threading.Thread): threading.Thread.__init__(self) self.cluster = cluster + self.daemon = True # if you don't explicitly wait for me, that means you don't need to self.is_terminating = False self.complete_remaining_upon_termination = False self.order_queue = collections.deque() # queue for inbound orders -- GitLab