You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IMGUI Demo example does not free up all memory allocated internally for IMGUI.
It is important to debug this and to find out, if this is an issue of IrrIMGUI or the Example program, or if this is an issue of IMGUI.
The text was updated successfully, but these errors were encountered:
The memory leak in the Demo example is a false negative. It comes from static data inside the Demo-Window function from IMGUI. When the Demo-Window function uses these data the first time, it allocates dynamically memory from the heap.
However static variables are deleted during program exit, thus the memory is still allocated when IMGUI shutdowns and the memory consistency check is performed. So we get an error message for that, but it is not a real error.
There is no way to force the application to delete this static variable earlier, so the only possibility is here to disable the memory leak detection to not get false negative error reports.
The IMGUI Demo example does not free up all memory allocated internally for IMGUI.
It is important to debug this and to find out, if this is an issue of IrrIMGUI or the Example program, or if this is an issue of IMGUI.
The text was updated successfully, but these errors were encountered: