This commit is contained in:
Dave Jones
2015-09-24 16:34:21 +01:00
parent 7811ed67c9
commit 980e4e7144
2 changed files with 46 additions and 30 deletions

View File

@@ -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)