有什么区别,如果我称之为 System.exit()
与 killProcess()
。结果我感兴趣的是差异仅
What's the difference if I call System.exit()
vs. killProcess()
.
I am interested in difference only
我不认为有任何区别。虽然有System.exit(),你应该首先调用runFinalizersOnExit
I dont think There is any difference. although with System.exit(), you should call runFinalizersOnExit first