Skip to content

Commit

Permalink
Exit platform when window is closed and game not running. Fixes #2274
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 19, 2021
1 parent ea192fc commit 1bae48a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/faforever/client/FafClientApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ private void closeMainWindow(WindowEvent event) {
})
)));
event.consume();
} else {
Platform.exit();
}
}

Expand Down

0 comments on commit 1bae48a

Please sign in to comment.