提交 a44178fe authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Mac OS X: Console tool process did not stop on exit

上级 6830b8c6
......@@ -352,7 +352,13 @@ ShutdownHandler {
}
System.gc();
// Mac OS X: Console tool process did not stop on exit
System.exit(0);
for (Thread t : Thread.getAllStackTraces().keySet()) {
if (t.getName().startsWith("AWT-")) {
t.interrupt();
}
}
Thread.currentThread().interrupt();
// throw new ThreadDeath();
}
//*/
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论