macOS: Close windows automatically when exiting (#4154)

This disallows carrying over open windows between calls of `run_app_on_demand`
(which wasn't intended to be supported anyhow).
This commit is contained in:
Mads Marquart 2025-03-17 11:29:53 +01:00 committed by GitHub
parent a4ab7dc64c
commit 8db4a9cc61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 2 deletions

View file

@ -241,3 +241,4 @@ changelog entry.
- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw.
- On macos, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game`
- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode
- On macOS, fixed `run_app_on_demand` returning without closing open windows.