DHT: Properly clean up pluginTimer when all things are gone
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…
Reference in New Issue