From 54b18d5547e641d7ccd8c47d9221efcf590a598c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Wed, 18 Feb 2026 19:12:45 +0100 Subject: [PATCH] Fix cleanup on success in threaded rendering test --- tests/threads.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/threads.c b/tests/threads.c index a2caea56..988d0eba 100644 --- a/tests/threads.c +++ b/tests/threads.c @@ -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); }