mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-15 23:08:41 +00:00
Fix starting plugins when the pluginmanager is started
This commit is contained in:
parent
3c4144e01a
commit
e506147289
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
* Fix localclient authentication by stripping the lines read from the auth file
|
* Fix localclient authentication by stripping the lines read from the auth file
|
||||||
* Do not try to call doIteration() on the reactor if it has already stopped
|
* Do not try to call doIteration() on the reactor if it has already stopped
|
||||||
* Fix 'autostart localhost if needed' option
|
* Fix 'autostart localhost if needed' option
|
||||||
|
* Fix starting plugins when the pluginmanager is started
|
||||||
|
|
||||||
==== Core ====
|
==== Core ====
|
||||||
* Fix saving torrent state on fresh configs
|
* Fix saving torrent state on fresh configs
|
||||||
|
|
|
@ -74,6 +74,8 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
||||||
"""Start the plugin manager"""
|
"""Start the plugin manager"""
|
||||||
# Update the enabled_plugins from the core
|
# Update the enabled_plugins from the core
|
||||||
client.core.get_enabled_plugins().addCallback(self._on_get_enabled_plugins)
|
client.core.get_enabled_plugins().addCallback(self._on_get_enabled_plugins)
|
||||||
|
for instance in self.plugins.values():
|
||||||
|
component.start(instance.plugin.get_component_name())
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# Disable the plugins
|
# Disable the plugins
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue