Register notStarting shutdown hook

This commit is contained in:
idk
2022-10-31 12:17:30 -04:00
parent 85e30d36d7
commit 51a82601f0

View File

@ -313,6 +313,12 @@ public class WinLauncher extends CopyConfigDir {
logger.info(e.toString());
}
}
Runtime.getRuntime().addShutdownHook(new Thread() {
@Override
public void run() {
setNotStarting();
}
});
}
private static boolean checkStarting() {