thennequin / ImWindow

Window and GUI system based on Dear ImGui from OCornut
MIT License
828 stars 119 forks source link

Deleting a floating window crash #32

Closed thennequin closed 4 years ago

thennequin commented 4 years ago

Create a floating window, and try to delete it delete pWindow; Window is not realy realesed in PlatformWindow and crash.

thennequin commented 4 years ago

For destroying a window we need to call the Destroy function of the window. pWindow->Destroy()