mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 09:56:41 +02:00
- attempt to fix double free bug
This commit is contained in:
@@ -1055,13 +1055,13 @@ bool ClientInterface::getNetworkCommand(int frameCount, int currentCachedPending
|
||||
//cachedPendingCommands.erase(frameCount);
|
||||
cachedPendingCommands[frameCount].clear();
|
||||
}
|
||||
safeMutex.ReleaseLock(true);
|
||||
safeMutex.ReleaseLock();
|
||||
|
||||
result = true;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
safeMutex.ReleaseLock(true);
|
||||
safeMutex.ReleaseLock();
|
||||
// No data for this frame
|
||||
//if(cachedPendingCommandsIndex > currentCachedPendingCommandsIndex) {
|
||||
// break;
|
||||
|
Reference in New Issue
Block a user