diff --git a/source/util/util-threadpool.cpp b/source/util/util-threadpool.cpp index cb67add..0b7a492 100644 --- a/source/util/util-threadpool.cpp +++ b/source/util/util-threadpool.cpp @@ -1,4 +1,5 @@ // Copyright (C) 2020-2022 Michael Fabian Dirks +// Copyright (C) 2023 tt2468 // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -133,7 +134,7 @@ streamfx::util::threadpool::threadpool::~threadpool() } streamfx::util::threadpool::threadpool::threadpool(size_t minimum, size_t maximum) - : _limits{minimum, maximum}, _workers_lock(), _workers(), _tasks_lock(), _tasks_cv(), _tasks() + : _limits{minimum, maximum}, _workers_lock(), _worker_count(0), _workers(), _tasks_lock(), _tasks_cv(), _tasks() { // Spawn the minimum number of threads. spawn(_limits.first);