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:
parent
a8545935c3
commit
3d25c2c6dc
@ -128,7 +128,7 @@ inline void ThreadPool::terminate()
|
||||
{
|
||||
{
|
||||
Lock lock(mx);
|
||||
if (running())
|
||||
if (isRunning())
|
||||
{
|
||||
stopping = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user