Merge PR #536: DHT: Properly clean up pluginTimer when all things are gone
This commit is contained in:
commit
7b89d1ee5a
@ -51,6 +51,7 @@ def setupThing(info):
|
||||
def thingRemoved(thing):
|
||||
if len(myThings()) is 0:
|
||||
global pollTimer
|
||||
del pollTimer
|
||||
pollTimer = None
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user