Fix cleanup on success in threaded rendering test

This commit is contained in:
Camilla Löwy
2026-02-18 19:12:45 +01:00
parent 05f57c0bee
commit 54b18d5547

View File

@@ -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);
}