in status_led_pkg/status_led_pkg/status_led_node.py [0:0]
def __exit__(self, exc_type, exc_value, traceback):
"""Called when the object is destroyed.
"""
self.effect_queue.put((None, None))
self.loop_thread.join()
for led in self.leds:
if led is not None:
led.disable()