qa: fix crash on null PNS::ITEM::Parent() UUID access
This commit is contained in:
parent
5100345c6e
commit
6e0a52dd47
|
@ -73,7 +73,10 @@ const PNS_LOG_FILE::COMMIT_STATE PNS_LOG_PLAYER::GetRouterUpdatedItems()
|
|||
//printf("a %d r %d\n", added.size(), removed.size() );
|
||||
for( auto item : removed )
|
||||
{
|
||||
state.m_removedIds.insert( item->Parent()->m_Uuid );
|
||||
if( item->Parent() )
|
||||
{
|
||||
state.m_removedIds.insert( item->Parent()->m_Uuid );
|
||||
}
|
||||
}
|
||||
|
||||
for( auto item : added )
|
||||
|
|
Loading…
Reference in New Issue