mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 12:52:36 +01: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…
x
Reference in New Issue
Block a user