From 515e5bb4221a55b7f525ff24351b6b0667ceede4 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Wed, 26 Jun 2024 16:24:09 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-114392=20FR-FBP=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E8=AE=BE=E8=AE=A1=E9=80=82=E9=85=8D=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/start/server/FineEmbedServer.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/start/server/FineEmbedServer.java b/designer-base/src/main/java/com/fr/start/server/FineEmbedServer.java index ad258131dd..89d642c265 100644 --- a/designer-base/src/main/java/com/fr/start/server/FineEmbedServer.java +++ b/designer-base/src/main/java/com/fr/start/server/FineEmbedServer.java @@ -13,7 +13,10 @@ public abstract class FineEmbedServer { * 是否正在启动中 */ private static volatile boolean onStarting = false; - + + /** + * 启动 + */ public synchronized static void start() throws Exception { onStarting = true; EventDispatcher.fire(EmbedServerEvent.BeforeStart); @@ -21,10 +24,14 @@ public abstract class FineEmbedServer { onStarting = false; EventDispatcher.fire(EmbedServerEvent.AfterStart); } - + + + /** + * 停止 + */ public synchronized static void stop() { EventDispatcher.fire(EmbedServerEvent.BeforeStop); - ModuleContext.getModule(FineEmbedServerActivator.class).stop(); + DesignEmbedHelper.stop(); EventDispatcher.fire(EmbedServerEvent.AfterStop); }