summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/HookManager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 4b24f590a..7057b6ee6 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -157,9 +157,8 @@ class HookManager:
if not hook: return
- self.log.debug("Plugin unloaded: %s" % plugin)
-
hook.unload()
+ self.log.debug("Plugin unloaded: %s" % plugin)
#remove periodic call
self.log.debug("Removed callback %s" % self.core.scheduler.removeJob(hook.cb))