From b125cafb3cde9af32cae376dae6500173888210f Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 6 Feb 2022 19:50:45 +0100 Subject: [PATCH] DHT: Properly clean up pluginTimer when all things are gone --- dht/integrationplugindht.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dht/integrationplugindht.py b/dht/integrationplugindht.py index ea45d89a..5b521719 100644 --- a/dht/integrationplugindht.py +++ b/dht/integrationplugindht.py @@ -51,6 +51,7 @@ def setupThing(info): def thingRemoved(thing): if len(myThings()) is 0: global pollTimer + del pollTimer pollTimer = None