-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Fix closing window does not exit app in desktop_app mode #7628
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably look into moving this back to post update in the future, but that can be part of a more comprehensive look at how the internal systems are organized to better take advantage of stageless.
Can you add |
bors r+ |
# Objective - `close_when_requested` system needs to run before `exit_on_*` systems, otherwise it takes another loop to exit app. - Fixes #7624 ## Solution - Move `close_when_request` system to Update phase [as before](#7624 (comment)).
Build failed: |
bors r+ |
# Objective - `close_when_requested` system needs to run before `exit_on_*` systems, otherwise it takes another loop to exit app. - Fixes #7624 ## Solution - Move `close_when_request` system to Update phase [as before](#7624 (comment)).
Pull request successfully merged into main. Build succeeded:
|
…7628) # Objective - `close_when_requested` system needs to run before `exit_on_*` systems, otherwise it takes another loop to exit app. - Fixes bevyengine#7624 ## Solution - Move `close_when_request` system to Update phase [as before](bevyengine#7624 (comment)).
…7628) # Objective - `close_when_requested` system needs to run before `exit_on_*` systems, otherwise it takes another loop to exit app. - Fixes bevyengine#7624 ## Solution - Move `close_when_request` system to Update phase [as before](bevyengine#7624 (comment)).
Objective
close_when_requested
system needs to run beforeexit_on_*
systems, otherwise it takes another loop to exit app.WinitSettings::desktop_app()
causes App to keep running after closing window #7624Solution
close_when_request
system to Update phase as before.