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
1 changed files with 5 additions and 0 deletions

View File

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