From e448cafb2137690a65920b25438b31c4d09a0f14 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 22 Aug 2023 21:02:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8F=92=E4=BB=B6=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: """