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

CurrentWindow dangling pointer after shutdown #836

Closed
petrihakkinen opened this issue Sep 20, 2016 · 2 comments
Closed

CurrentWindow dangling pointer after shutdown #836

petrihakkinen opened this issue Sep 20, 2016 · 2 comments

Comments

@petrihakkinen
Copy link

ImGui::Shutdown() does not reset g.CurrentWindow to NULL so restarting imgui after shutdown can cause a crash when the pointer is deferenced in NewFrame(). Now this is probably an unusual use case but I have a live coding setup that requires restarting the app occasionally...

@ocornut
Copy link
Owner

ocornut commented Sep 20, 2016

Should be fixed.

@ocornut ocornut closed this as completed Sep 20, 2016
@petrihakkinen
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants