From 42371f7aea986f7719972e7d3d7c4f93f3f4c490 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Fri, 13 May 2022 15:25:20 +0200 Subject: [PATCH] Fix fix. --- core/thread/thread_pool.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/thread/thread_pool.odin b/core/thread/thread_pool.odin index 840cecfec..4fd5c90d1 100644 --- a/core/thread/thread_pool.odin +++ b/core/thread/thread_pool.odin @@ -111,9 +111,9 @@ pool_join :: proc(pool: ^Pool) { for t in pool.threads { if .Started in t.flags { started_count += 1 - } - if .Joined not_in t.flags { - join(t) + if .Joined not_in t.flags { + join(t) + } } } }