Commit c27f3d786e5b6d00b8c300d20f5e25bf1ef655af

Authored by Greg Sandstrom
1 parent 22a44ea124
Exists in main

always try to turn off a channel when stopping blink even if there is no running thread

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

ssa/alarm/lightstack.py View file @ c27f3d7
... ... @@ -92,7 +92,7 @@
92 92 thread.cancel()
93 93 thread.join()
94 94 self.channel_threads[channel] = None
95   - self.off(channel)
  95 + self.off(channel)
96 96  
97 97 def get(self, channel):
98 98 return self.channel_states.get(channel, None)