When a new trace connection is established known events need to be resent. A list of known events is maintained for this purpose (it predates the important event side-channel). If any new events were added to the new-events list, the on-connect logic would overwrite the list and all knowledge of the new events would be lost. Analysis would end up with events it knew nothing of and would be unable to proceed.

#jira UE-109686
#rb johan.berg
#rnx

[CL 15731505 by Martin Ridgers in ue5-main branch]
This commit is contained in:
Martin Ridgers
2021-03-17 18:34:01 -04:00
parent 2d7c67d352
commit 55dccc9370

View File

@@ -192,6 +192,7 @@ void FEventNode::OnConnect()
FEventNode* Node = AtomicLoadRelaxed(&GNewEventList);
if (AtomicCompareExchangeRelaxed(&GNewEventList, GEventListHead, Node))
{
GEventListTail->Next = Node;
break;
}
}