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

Display Does Not Close After Drop, Windows #2467

Open
bayswaterpc opened this issue Jun 3, 2021 · 2 comments
Open

Display Does Not Close After Drop, Windows #2467

bayswaterpc opened this issue Jun 3, 2021 · 2 comments

Comments

@bayswaterpc
Copy link

I'm trying to call a rust window in a subfunction and have it close when then function finishes. However, the window is not closing.
image

I've scoped this error to it's own repo.

I have found a work around by calling an explicit call to the winapi::um::winuser::DestroyWindow, however it seems like this should be being handled by the underlying calls to window drop.

I had tried chasing this down in with glium on this thread, and they pointed me here

@kchibisov
Copy link
Member

This seems like it should belong to winit.

@kchibisov kchibisov transferred this issue from rust-windowing/glutin Sep 3, 2022
@maroider
Copy link
Member

maroider commented Sep 4, 2022

Are you able to reproduce this only with winit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants