mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Merge branch 'master' into when-active-when-inactive
Conflicts: gpiozero/devices.py gpiozero/input_devices.py
This commit is contained in:
@@ -33,6 +33,8 @@ class GPIODevice(object):
|
||||
|
||||
|
||||
_GPIO_THREADS = set()
|
||||
|
||||
|
||||
def _gpio_threads_shutdown():
|
||||
while _GPIO_THREADS:
|
||||
for t in _GPIO_THREADS.copy():
|
||||
@@ -95,4 +97,3 @@ class GPIOQueue(GPIOThread):
|
||||
# Parent is dead; time to die!
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user