67,513
社区成员
发帖
与我相关
我的任务
分享
private void handleSIGINT() {
try {
sun.misc.Signal.handle(new sun.misc.Signal("INT"), new SignalHandler() {
public void handle(sun.misc.Signal sig) {
nukeAgentAndDie();
}
});
} catch(Exception e) {
// avoid "Signal already used by VM: SIGINT", e.g. ibm jdk
}
}