-
Notifications
You must be signed in to change notification settings - Fork 2k
eframe: "App quit unexpectedly" on macOS #2768
Copy link
Copy link
Closed
Labels
bugSomething is brokenSomething is broken
Description
Describe the bug
Sometimes when I close my eframe app on macOS, I receive a crash notification from macOS saying that the "app quit unexpectedly".
To Reproduce
I have created a minimal reproducible example here:
https://github.com/bash/egui-issue-2768/blob/main/src/main.rs
I'm using the latest version of eframe from the master branch.
It can be a bit finicky to observe the crash message.
Sometimes it happens a few times in a row, then it doesn't.
Some observations:
- It only seems happens when the
persistencecrate feature is enabled andpersist_native_windowreturns true. - It does not happen when I quit the app using ⌘ Q.
- It does not happen when
run_and_returnis disabled in theNativeOptions.
Expected behavior
No crash notification.
Desktop:
- OS: macOS
- Version 13.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is brokenSomething is broken
