Merge PR #536: DHT: Properly clean up pluginTimer when all things are gone

master
Jenkins nymea 2022-03-27 19:50:11 +02:00
commit 7b89d1ee5a
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ def setupThing(info):
def thingRemoved(thing):
if len(myThings()) is 0:
global pollTimer
del pollTimer
pollTimer = None