diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2012-01-05 20:49:22 +0100 |
---|---|---|
committer | Wieland Hoffmann <themineo@gmail.com> | 2012-01-05 20:49:22 +0100 |
commit | 4f879e899562e19d8a7fc64f3099dbd301ae421f (patch) | |
tree | f5dbfa01ee315dea2562d912e6df1220b8ab68c1 | |
parent | Unbreak Ev0InFetcher (diff) | |
download | pyload-4f879e899562e19d8a7fc64f3099dbd301ae421f.tar.xz |
Only claim to have unloaded a hook after it was unloaded
-rw-r--r-- | module/HookManager.py | 3 |
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)) |