Currently when the user adds a list of context entities using SetCustomContext(list), the tracker uses that list and later modifies it to add additional context entities to it. In case the user is reusing that list of entities for multiple tracked events, this will result in a growing list as the same instance will be modified.
We should make a copy of the list instance when SetCustomContext() is called.
Currently when the user adds a list of context entities using
SetCustomContext(list)
, the tracker uses that list and later modifies it to add additional context entities to it. In case the user is reusing that list of entities for multiple tracked events, this will result in a growing list as the same instance will be modified.We should make a copy of the list instance when
SetCustomContext()
is called.