-
Notifications
You must be signed in to change notification settings - Fork 2k
Window not destroyed after run_and_return #2892
Copy link
Copy link
Closed
Labels
bugSomething is brokenSomething is broken
Description
Describe the bug
Somewhere between version 0.20.1 and version 0.21.0 the ability to re-run an app with run_and_return was broken such that the window is no-longer destroyed (using eframe).
This can be reproduced using the serial windows example. In version 0.20.1 this example can close and destroy the window when the window bar X is clicked, but not when the "close" button is clicked. In version 0.21.x clicking the window X results in the same behaviour as the "close" button.
I initially thought it might be a winit issue but looking at the related issues there shows that egui is already using the found "workarounds".
A git checkout 0.20.1 -- ./crates/eframe shows that the issue lies within eframe
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is brokenSomething is broken