mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-07-11 23:59:59 +02:00
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