commit 312051a242cda4b661e5a93f896c7db693d97d2c parent 06a613ed0970f6773196eb690fdb811f5378410f Author: ThomasV <thomasv@gitorious> Date: Mon, 28 Jul 2014 15:49:41 +0200 one more daemon thread Diffstat:
M | lib/network.py | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py @@ -223,7 +223,9 @@ class Network(threading.Thread): self.running = True self.response_queue = response_queue self.start_interfaces() - threading.Thread(target=self.process_requests_thread).start() + t = threading.Thread(target=self.process_requests_thread) + t.daemon = True + t.start() self.blockchain.start() threading.Thread.start(self)