diff --git a/tests/threads.c b/tests/threads.c index 75fa8802..78519c73 100644 --- a/tests/threads.c +++ b/tests/threads.c @@ -124,6 +124,9 @@ int main(void) } } + for (i = 0; i < count; i++) + glfwHideWindow(threads[i].window); + for (i = 0; i < count; i++) thrd_join(threads[i].id, &result);