From 2afb8c3d2af2c18c230350a0f0978c6e993b8926 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 9 Aug 2022 09:57:42 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-76086=20=E3=80=90=E8=BF=AD=E4=BB=A3?= =?UTF-8?q?=E3=80=91=E3=80=90=E8=B5=B7=E5=A7=8B=E9=A1=B5=E3=80=91=E5=9C=A8?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E9=A1=B5=E4=B8=8D=E5=81=9A=E4=BB=BB=E4=BD=95?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=EF=BC=8C=E4=BC=9A=E5=87=BA=E7=8E=B0=E9=A2=84?= =?UTF-8?q?=E6=9C=9F=E5=A4=96=E7=9A=84=E5=90=AF=E5=8A=A8=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=20=E5=9C=A8=E5=AD=90=E8=BF=9B=E7=A8=8B=E7=9A=84=E7=9B=91?= =?UTF-8?q?=E5=90=AC=E4=B8=AD=E5=B1=8F=E8=94=BD=E5=90=AF=E5=8A=A8=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/start/DesignerSubListener.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/designer-realize/src/main/java/com/fr/start/DesignerSubListener.java b/designer-realize/src/main/java/com/fr/start/DesignerSubListener.java index 52d364f6cd..50134622da 100644 --- a/designer-realize/src/main/java/com/fr/start/DesignerSubListener.java +++ b/designer-realize/src/main/java/com/fr/start/DesignerSubListener.java @@ -8,6 +8,7 @@ import com.fr.exit.DesignerExiter; import com.fr.process.engine.core.CarryMessageEvent; import com.fr.process.engine.core.FineProcessContext; import com.fr.process.engine.core.FineProcessEngineEvent; +import com.fr.start.common.DesignerStartupContext; /** * @author hades @@ -31,6 +32,10 @@ public class DesignerSubListener { FineProcessContext.getParentPipe().listen(FineProcessEngineEvent.READY, new Listener() { @Override public void on(Event event, Null param) { + // 如果是在起始页的等待过程中 + if (DesignerStartupContext.getInstance().isOnWaiting()) { + return; + } if (DesignerContext.getDesignerFrame() == null || !DesignerContext.getDesignerFrame().isShowing()) { DesignerExiter.getInstance().exitUnexpectedly(() -> {