mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 00:49:19 +02:00
Merge pull request #89 from jakubg1/dev
Fix a segfault when closing on Wayland
This commit is contained in:
@@ -678,6 +678,7 @@ void eu07_application::exit()
|
|||||||
glfwDestroyWindow(window);
|
glfwDestroyWindow(window);
|
||||||
}
|
}
|
||||||
m_taskqueue.exit();
|
m_taskqueue.exit();
|
||||||
|
glfwPollEvents(); // TODO: This fixes a segfault on Wayland when closing. Remove after updating glfw to 3.5.
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
|
|
||||||
if (!Global.exec_on_exit.empty())
|
if (!Global.exec_on_exit.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user