mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-21 05:52:19 +00:00
Force close JVM after JavaFX stop hook
This commit is contained in:
parent
9f8898561d
commit
ff13703335
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user