From f3a52d2acc7587b08d1734598b1b7b592ec21c27 Mon Sep 17 00:00:00 2001 From: ann0see <20726856+ann0see@users.noreply.github.com> Date: Mon, 11 May 2026 23:12:53 +0200 Subject: [PATCH] Apply suggested fix to src/threadpool.h from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/threadpool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadpool.h b/src/threadpool.h index 57c21b2e16..3257be2274 100644 --- a/src/threadpool.h +++ b/src/threadpool.h @@ -64,7 +64,7 @@ class CThreadPool // synchronization std::mutex queue_mutex; std::condition_variable condition; - bool stop; + bool stop = false; }; // the constructor just launches some amount of workers