Browse Source

led.py: daemonize `led_thread`

The MMGen Project 6 months ago
parent
commit
90c3a08cb1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mmgen/led.py

+ 2 - 1
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()