Browse Source

REPORT-46819 死循环风险

release/10.0
白岳 4 years ago
parent
commit
2388034eb2
  1. 3
      fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java

3
fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java

@ -235,8 +235,7 @@ class LibraryLoader {
String pid = name.split("@")[0]; String pid = name.split("@")[0];
try { try {
Runtime.getRuntime().exec("taskkill /F /PID " + pid); Runtime.getRuntime().exec("taskkill /F /PID " + pid);
} catch (Exception ex) { } catch (Exception ignore) {
System.exit(0);
} }
} }
}); });

Loading…
Cancel
Save