From 9eab8bdad61942404cad48097dcbdd1f72853756 Mon Sep 17 00:00:00 2001 From: ju Date: Fri, 14 Sep 2018 17:31:06 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-11216=2010.0=E8=BF=9C=E7=A8=8B=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3=20=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E9=94=81=E7=8E=B0=E5=9C=A8=E6=98=AF=E7=94=A8socketio?= =?UTF-8?q?=E5=81=9A=E7=9A=84=E5=85=B3=E9=97=AD=E8=A7=A3=E9=94=81=EF=BC=8C?= =?UTF-8?q?=E5=A6=82=E6=9E=9Csocketio=E6=B2=A1=E8=BF=9E=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E8=AF=9D=EF=BC=8C=E6=A8=A1=E6=9D=BF=E5=B0=B1=E6=B0=B8=E8=BF=9C?= =?UTF-8?q?=E6=B2=A1=E5=8A=9E=E6=B3=95=E8=A7=A3=E9=94=81=E4=BA=86=20?= =?UTF-8?q?=E5=8A=A0=E5=BF=83=E8=B7=B3=E6=9D=A5=E5=A4=84=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E9=94=81=E5=BC=82=E5=B8=B8=E5=85=B3=E9=97=AD=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/mainframe/DesignerFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java b/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java index a8802553ce..7419765135 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java @@ -1069,8 +1069,8 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta EastRegionContainerPane.getInstance().getContainerWidth()); DesignerEnvManager.getEnvManager().saveXMLFile(); - - WorkContext.switchTo(null); + //关闭当前环境 + WorkContext.getCurrent().close(); this.setVisible(false); this.dispose();