Browse Source

Merge pull request #727 in DESIGN/design from ~XIAOXIA/design:final/10.0 to final/10.0

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