🌈 搜索
📅  最后修改于: 2022-03-11 14:52:10.260000             🧑  作者: Mango
Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { //do your stuff } });