CurrentWindow dangling pointer after shutdown #836

Closed
opened 2016-09-20 10:28:31 +00:00 by petrihakkinen · 2 comments
petrihakkinen commented 2016-09-20 10:28:31 +00:00 (Migrated from github.com)

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...

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 commented 2016-09-20 10:42:08 +00:00 (Migrated from github.com)

Should be fixed.

Should be fixed.
petrihakkinen commented 2016-09-20 10:52:59 +00:00 (Migrated from github.com)

Thank you!

Thank you!
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#836
No description provided.