Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

akimakinai
Copy link
Contributor

Objective

Solution

  • Move close_when_request system to Update phase as before.

@github-actions
Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@alice-i-cecile alice-i-cecile added this to the 0.10 milestone Feb 11, 2023
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Windowing Platform-agnostic interface layer to run your app in labels Feb 11, 2023
Copy link
Contributor

@hymm hymm left a 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.

@hymm
Copy link
Contributor

hymm commented Feb 13, 2023

Can you add Fixes #7567 to the PR description?

@hymm hymm added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Feb 13, 2023
@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Feb 13, 2023
# 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)).
@bors
Copy link
Contributor

bors bot commented Feb 13, 2023

Build failed:

@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Feb 13, 2023
# 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)).
@bors bors bot changed the title Fix closing window does not exit app in desktop_app mode [Merged by Bors] - Fix closing window does not exit app in desktop_app mode Feb 13, 2023
@bors bors bot closed this Feb 13, 2023
myreprise1 pushed a commit to myreprise1/bevy that referenced this pull request Feb 14, 2023
…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)).
myreprise1 pushed a commit to myreprise1/bevy that referenced this pull request Feb 15, 2023
…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)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WinitSettings::desktop_app() causes App to keep running after closing window
3 participants