This PR adds invocations of ApexPathExpander.finished() that were previously missing. Failing to invoke that method was causing ApexPathExpander instances to remain in the path expander registry past their usefulness, contributing to LimitReached violations and OutOfMemory errors.
This PR adds invocations of
ApexPathExpander.finished()
that were previously missing. Failing to invoke that method was causingApexPathExpander
instances to remain in the path expander registry past their usefulness, contributing toLimitReached
violations andOutOfMemory
errors.