mirror of
https://github.com/glfw/glfw.git
synced 2026-06-21 22:06:26 +00:00
Fix cleanup on success in threaded rendering test
This commit is contained in:
@@ -146,6 +146,10 @@ int main(void)
|
||||
for (i = 0; i < count; i++)
|
||||
thrd_join(threads[i].id, &result);
|
||||
|
||||
for (i = 0; i < count; i++)
|
||||
glfwDestroyWindow(threads[i].window);
|
||||
|
||||
glfwTerminate();
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user