mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix 插件重复启动的问题
This commit is contained in:
+2
-2
@@ -80,8 +80,8 @@ class PluginManager(metaclass=Singleton):
|
|||||||
"""
|
"""
|
||||||
# 停止所有插件
|
# 停止所有插件
|
||||||
for plugin in self._running_plugins.values():
|
for plugin in self._running_plugins.values():
|
||||||
if hasattr(plugin, "stop"):
|
if hasattr(plugin, "stop_service"):
|
||||||
plugin.stop()
|
plugin.stop_service()
|
||||||
|
|
||||||
def get_plugin_config(self, pid: str) -> dict:
|
def get_plugin_config(self, pid: str) -> dict:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user