mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix another unprotected UI access
This commit is contained in:
@@ -322,6 +322,7 @@ void CServerHandler::applyPacksOnLobbyScreen()
|
||||
boost::unique_lock<boost::recursive_mutex> lock(*mx);
|
||||
while(!packsForLobbyScreen.empty())
|
||||
{
|
||||
boost::unique_lock<boost::recursive_mutex> guiLock(*CPlayerInterface::pim);
|
||||
CPackForLobby * pack = packsForLobbyScreen.front();
|
||||
packsForLobbyScreen.pop_front();
|
||||
CBaseForLobbyApply * apply = applier->getApplier(typeList.getTypeID(pack)); //find the applier
|
||||
|
Reference in New Issue
Block a user