diff --git a/app/core/plugin.py b/app/core/plugin.py index d8c922764..80bdddaee 100644 --- a/app/core/plugin.py +++ b/app/core/plugin.py @@ -80,8 +80,8 @@ def stop(self): """ # 停止所有插件 for plugin in self._running_plugins.values(): - if hasattr(plugin, "stop"): - plugin.stop() + if hasattr(plugin, "stop_service"): + plugin.stop_service() def get_plugin_config(self, pid: str) -> dict: """