mirror of https://gitlab.com/kauron/jstudy
Force program to end
This commit is contained in:
parent
6d5c7917a2
commit
a50965fdb6
|
@ -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 New Issue