Addresses comments around AZ_TRAIT_UNIT_TEST_NAME_COUNT from PR

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-18 17:51:43 -07:00
parent dd80a3ebae
commit cb7108e336
7 changed files with 6 additions and 15 deletions
@@ -194,9 +194,9 @@ namespace AZ
return;
}
Internal::NameData* nameData = dictIt->second; // restore the pointer in case the intrusive ptr was already assigned by other thread
Internal::NameData* nameData = dictIt->second;
// Check m_hashCollision again inside the m_sharedMutex because a new collision could have happened
// Check m_hashCollision inside the m_sharedMutex because a new collision could have happened
// on another thread before taking the lock.
if (nameData->m_hashCollision)
{