Skip to content

Replace unnecessary &Window in exit_on_all_closed with With<Window>#23625

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
doonv:cleanup-exit_on_all_closed
Apr 2, 2026
Merged

Replace unnecessary &Window in exit_on_all_closed with With<Window>#23625
alice-i-cecile merged 2 commits intobevyengine:mainfrom
doonv:cleanup-exit_on_all_closed

Conversation

@doonv
Copy link
Copy Markdown
Contributor

@doonv doonv commented Apr 2, 2026

Tiny optimization I came across while working on #23624

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy A-Windowing Platform-agnostic interface layer to run your app in C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Apr 2, 2026
@alice-i-cecile
Copy link
Copy Markdown
Member

Yay! Very nice. I like getting rid of those .ambiguous_with calls a lot.

@alice-i-cecile alice-i-cecile enabled auto-merge April 2, 2026 22:07
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Apr 2, 2026
Merged via the queue into bevyengine:main with commit 842fa5c Apr 2, 2026
46 checks passed
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-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy 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.

2 participants