From 01ba3bf406c16027f3da12d8c642937b73fff53e Mon Sep 17 00:00:00 2001 From: hades Date: Tue, 16 Jun 2020 17:05:04 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-33575=20=E6=94=B9=E4=B8=8B=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/mainframe/socketio/DesignerSocketIO.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java b/designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java index 010f9d119..e84237524 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java @@ -42,7 +42,7 @@ public class DesignerSocketIO { // 远程设计websocket不支持wss 所以断开无法提醒 // 使用远程设计的心跳断开来提醒断开 if (DesignerEnvManager.getEnvManager().isHttps()) { - showConnectionLost(); + showConnectionLostDialog(); } } }); @@ -161,13 +161,13 @@ public class DesignerSocketIO { * socket 只用推日志和通知配置变更 */ if (status != Status.Disconnecting) { - showConnectionLost(); + showConnectionLostDialog(); } status = Status.Disconnected; } }; - private static void showConnectionLost() { + private static void showConnectionLostDialog() { try { UIUtil.invokeAndWaitIfNeeded(new Runnable() { @Override