1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix thread pool closing

This commit is contained in:
Tomasz Zieliński 2023-05-06 19:47:28 +02:00
parent a8545935c3
commit 3d25c2c6dc

View File

@ -128,7 +128,7 @@ inline void ThreadPool::terminate()
{
{
Lock lock(mx);
if (running())
if (isRunning())
{
stopping = true;
}