From df1c8950769960a768d47551e598abb38f299f8f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 6 Apr 2014 14:41:04 +0200 Subject: [PATCH] Added window hiding before thrd_join. --- tests/threads.c | 3 +++ 1 file changed, 3 insertions(+) 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);