Browse Source

Merge pull request #726 in DESIGN/design from ~XIAOXIA/design:release/10.0 to release/10.0

* commit 'afd800e1bba05accb36f05ce71ec70049a3ca5e0':
  REPORT-14020 可以重复打开设计器 调试的代码上次误传了
bugfix/10.0
xiaoxia 6 years ago
parent
commit
047e7bd8eb
  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