1
0
Fork 0
mirror of https://gitlab.com/kauron/jstudy synced 2024-12-22 16:33:33 +01:00

Force program to end

This commit is contained in:
Carlos Galindo 2019-09-13 11:29:59 +02:00
parent 6d5c7917a2
commit a50965fdb6
Signed by: kauron
GPG key ID: 83E68706DEE119A3

View file

@ -20,6 +20,11 @@ public class Main extends Application {
primaryStage.setOnHiding(event -> AppPrefs.save()); primaryStage.setOnHiding(event -> AppPrefs.save());
} }
@Override
public void stop() throws Exception {
super.stop();
System.exit(0);
}
public static void main(String[] args) { public static void main(String[] args) {
launch(args); launch(args);