From f6c26d669050f83e3d388d64c3f561827832f374 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 28 Feb 2009 17:20:49 +0000 Subject: [PATCH] Remove timer in pluginmanager since update calls will be handled by component now --- deluge/core/pluginmanager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deluge/core/pluginmanager.py b/deluge/core/pluginmanager.py index 8761381dd..87830b11a 100644 --- a/deluge/core/pluginmanager.py +++ b/deluge/core/pluginmanager.py @@ -57,16 +57,9 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase, # Enable plugins that are enabled in the config self.enable_plugins() - # Set update timer to call update() in plugins every second - self.update_timer = LoopingCall(self.update_plugins) - self.update_timer.start(1) - def stop(self): # Disable all enabled plugins self.disable_plugins() - # Stop the update timer - if self.update_timer.running: - self.update_timer.stop() def shutdown(self): self.stop()