Skip to content
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

Allow aborting an exit event #1038

Merged
merged 1 commit into from
Jan 17, 2022
Merged

Allow aborting an exit event #1038

merged 1 commit into from
Jan 17, 2022

Conversation

lampsitter
Copy link
Contributor

@lampsitter lampsitter commented Jan 4, 2022

This addresses the first point in #814.

I am not sure how to handle the second scenario in the issue as integration is moved into the closure

egui-winit/src/epi.rs Outdated Show resolved Hide resolved
@lampsitter lampsitter marked this pull request as ready for review January 4, 2022 19:55
epi/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example and API is very good, but I think the implementation could be made a lot simpler

egui_glow/src/epi_backend.rs Outdated Show resolved Hide resolved
epi/src/lib.rs Outdated Show resolved Hide resolved
@emilk emilk merged commit ab77099 into emilk:master Jan 17, 2022
@emilk
Copy link
Owner

emilk commented Jan 17, 2022

thanks!

@lampsitter lampsitter deleted the exit branch January 17, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants