Merge branch 'master' into when-active-when-inactive

Conflicts:
	gpiozero/devices.py
	gpiozero/input_devices.py
This commit is contained in:
Dave Jones
2015-09-22 12:52:30 +01:00
5 changed files with 124 additions and 4 deletions

View File

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