mirror of
https://gitlab.com/kauron/jstudy
synced 2024-12-22 08:23:33 +01:00
Force program to end
This commit is contained in:
parent
6d5c7917a2
commit
a50965fdb6
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue