mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 23:39:18 +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);
|
||||
}
|
||||
m_taskqueue.exit();
|
||||
glfwPollEvents(); // TODO: This fixes a segfault on Wayland when closing. Remove after updating glfw to 3.5.
|
||||
glfwTerminate();
|
||||
|
||||
if (!Global.exec_on_exit.empty())
|
||||
|
||||
Reference in New Issue
Block a user