mangoapp: iconify/restore the window, don't destroy it
Currently we're destroying the window, from under the glfw's framework feet. Basically we do a use-after-free, as glfwWindowShouldClose() is called and due to some miracle we don't crash out. Since we suspend all rendering, there's no need to actually destroy the window - just iconify/restore it. A simple show/hide was attempted but empirically did not work. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>pull/707/head
parent
40a1758518
commit
74e83c0bba
Loading…
Reference in New Issue