Force close JVM after JavaFX stop hook

This commit is contained in:
ChronosX88 2023-12-12 01:12:28 +03:00
parent 9f8898561d
commit ff13703335

View File

@ -29,6 +29,12 @@ public class Main extends Application {
stage.show();
}
@Override
public void stop() throws Exception {
super.stop();
System.exit(0);
}
public static void main(String[] args) {
launch(args);
}