mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix thread pool closing
This commit is contained in:
@@ -128,7 +128,7 @@ inline void ThreadPool::terminate()
|
||||
{
|
||||
{
|
||||
Lock lock(mx);
|
||||
if (running())
|
||||
if (isRunning())
|
||||
{
|
||||
stopping = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user