Fixed java process not exiting on Windows

This commit is contained in:
Scott Stamp 2018-10-14 21:07:31 -02:30
parent ef52a1287d
commit eae2f2bedc

View File

@ -30,6 +30,9 @@ public class Main extends Application {
primaryStage.setOnCloseRequest( event -> {
companion.abort();
Platform.exit();
// Platform.exit doesn't seem to be enough on Windows?
System.exit(0);
});
}