diff --git a/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java b/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java index b8612fc6b5..93d9f98eed 100644 --- a/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java +++ b/designer-realize/src/main/java/com/fr/start/module/DesignerActivator.java @@ -495,12 +495,15 @@ public class DesignerActivator extends Activator implements Prepare { @Override public void prepare() { + OptimizeUtil.close(() -> { + LoginAuthServer.getInstance().compatibleStart(); + }); ContentReplacerCenter.getInstance().register(); } private void startLoginAuthServer() { - OptimizeUtil.execute(() -> { + OptimizeUtil.open(() -> { // 设计器启动后启动 EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener() { @Override @@ -508,8 +511,6 @@ public class DesignerActivator extends Activator implements Prepare { LoginAuthServer.getInstance().start(); } }); - }, () -> { - LoginAuthServer.getInstance().compatibleStart(); }); } }