Fix CID 169525 Data race condition

This commit is contained in:
Dennis Klein
2017-05-17 18:44:51 +02:00
parent c78541432f
commit ec786dce03
3 changed files with 16 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ void FairMQDevice::AttachChannels(list<FairMQChannel*>& chans)
if (AttachChannel(**itr))
{
(*itr)->InitCommandInterface();
(*itr)->fModified = false;
(*itr)->SetModified(false);
chans.erase(itr++);
}
else