macOS: skip releasing unavailable monitors

Prevent assertion error when trying to close a fullscreen window that
was on a display that got disconnected.
This commit is contained in:
Pascal Hertleif 2024-08-05 12:44:18 +02:00 committed by GitHub
parent 546962c904
commit 54ff9c3bb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 14 deletions

View file

@ -110,3 +110,4 @@ changelog entry.
### Fixed
- On Web, pen events are now routed through to `WindowEvent::Cursor*`.
- On macOS, fix panic when releasing not available monitor.