mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-10-02 13:00:31 +02:00
Fixed java process not exiting on Windows
This commit is contained in:
parent
ef52a1287d
commit
eae2f2bedc
@ -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);
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user