BUG-2432: Crashfix. Don't call map::erase when the iterator is not valid.

meow-7.2.2
Oz Linden 2013-05-21 17:25:51 -04:00
parent 0ebcb7e3fd
commit 2df5b9caa6
2 changed files with 2 additions and 1 deletions

View File

@ -900,6 +900,7 @@ Nicky Dasmijn
VWR-29228
MAINT-873
SUN-72
BUG-2432
Nicky Perian
OPEN-1
STORM-1087

View File

@ -1215,8 +1215,8 @@ bool LLMeshRepoThread::headerReceived(const LLVolumeParams& mesh_params, U8* dat
mLODReqQ.push(req);
LLMeshRepository::sLODProcessing++;
}
mPendingLOD.erase(iter);
}
mPendingLOD.erase(iter);
}
return true;