Browse Source

REPORT-14020 可以重复打开设计器 调试的代码上次误传了

bugfix/10.0
XiaXiang 6 years ago
parent
commit
afd800e1bb
  1. 12
      designer-base/src/main/java/com/fr/design/utils/DesignUtils.java

12
designer-base/src/main/java/com/fr/design/utils/DesignUtils.java

@ -65,12 +65,12 @@ public class DesignUtils {
* @return 启动了返回true
*/
public static boolean isStarted() {
// try {
// new Socket("localhost", port);
// return true;
// } catch (Exception exp) {
//
// }
try {
new Socket("localhost", port);
return true;
} catch (Exception exp) {
}
return false;
}

Loading…
Cancel
Save