From 90c3a08cb161cf5721331d30725228f9e4f97720 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Wed, 4 Sep 2024 13:08:51 +0000 Subject: [PATCH] led.py: daemonize `led_thread` --- mmgen/led.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmgen/led.py b/mmgen/led.py index a795e4e6..cceddefd 100755 --- a/mmgen/led.py +++ b/mmgen/led.py @@ -172,7 +172,8 @@ class LEDControl: self.led_thread = threading.Thread( target = self.led_loop, name = 'LED loop', - args = timings[state]) + args = timings[state], + daemon = True) self.led_thread.start()