/Engine/Source/Runtime/Engine/Public/Net/NetDormantHolder.h
Iterate over all the stored object replicators and destroy any that are tied to a replicated object that is now considered invalid. This version will decrement the subobject references stored in the networkobject list too.
void CleanupStaleObjects ( [FNetworkObjectList](API\Runtime\Engine\Engine\FNetworkObjectList) & NetworkObjectList, [UObject](API\Runtime\CoreUObject\UObject\UObject) * ReferenceOwner )