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

[bug] window will not be closed after run_native returned #677

Closed
zu1k opened this issue Aug 29, 2021 · 4 comments
Closed

[bug] window will not be closed after run_native returned #677

zu1k opened this issue Aug 29, 2021 · 4 comments
Labels
egui-winit porblems related to winit

Comments

@zu1k
Copy link
Contributor

zu1k commented Aug 29, 2021

It looks like the window will not be closed after run_native returned.

On windows, I use this method to destroy window, however on linux, I don't know how to destroy the window.

Originally posted by @zu1k in #427 (comment)

@zu1k
Copy link
Contributor Author

zu1k commented Aug 29, 2021

the use case is: after returning, the program does not exit, and the window will be reopened sometime in the future

@bayswaterpc
Copy link

I updated my mini example here and can confirm that the window is lingering.

Can I confirm @zu1k that you placed that method in the backend.rs run() function?

I had initially identifed this issue on glutin issue 1360

@zu1k
Copy link
Contributor Author

zu1k commented Sep 1, 2021

Can I confirm @zu1k that you placed that method in the backend.rs run() function?

Yes. zu1k@2c8e787

@emilk emilk added the egui-winit porblems related to winit label Sep 28, 2021
@emilk
Copy link
Owner

emilk commented Apr 16, 2022

We no longer use run_return, so I think we can close this.

@emilk emilk closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui-winit porblems related to winit
Projects
None yet
Development

No branches or pull requests

3 participants