Remove timer in pluginmanager since update calls will be handled by

component now
This commit is contained in:
Andrew Resch 2009-02-28 17:20:49 +00:00
parent 4eb175ae9c
commit f6c26d6690

View File

@ -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()