-
Notifications
You must be signed in to change notification settings - Fork 940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support exiting event loop without quitting program #2187
Comments
Unfortunately, according to the egui developers this is not working properly, see emilk/egui#1223 (comment). |
My intuition is that even if |
I'm not sure what the issue to solve here, |
@surban I am in the same situation as you, have you found an alternative method? Or have you changed libraries, if so could you tell me which one you used? |
|
It is not for android |
yeah, I was just thinking about the comment about |
I haven't tried myself, but wasn't this fixed in egui in emilk/egui#1889 ? |
I am using winit via eframe for a command line application. The app displays a window for the user to provide some input. After the window is closed I would like winit to exit the event loop and return from EventLoop::run, so that the app can continue running.
However this is currently impossible because the return type is ! and std::process::exit is called when the event loop is exited.
See also emilk/egui#1223
The text was updated successfully, but these errors were encountered: