1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed race condition

This commit is contained in:
AlexVinS 2017-07-12 18:26:20 +03:00
parent 2c525fc76e
commit bc626c2446

View File

@ -778,7 +778,6 @@ void VCAI::makeTurn()
markHeroAbleToExplore (primaryHero());
makeTurnInternal();
makingTurn.reset();
return;
}
@ -2786,6 +2785,7 @@ void VCAI::finish()
{
makingTurn->interrupt();
makingTurn->join();
makingTurn.reset();
}
}