mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #32
This commit is contained in:
@@ -62,6 +62,9 @@ class GPIOThread(Thread):
|
||||
def stop(self):
|
||||
self.stopping.set()
|
||||
self.join()
|
||||
|
||||
def join(self):
|
||||
super(GPIOThread, self).join()
|
||||
_GPIO_THREADS.discard(self)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user