DHT: Properly clean up pluginTimer when all things are gone
This commit is contained in:
parent
eff66ea2f4
commit
b125cafb3c
@ -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