Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear list in Enumerable.Chunk prior to yielding (#72637)
To avoid the iterator keeping alive references unnecessarily. If the consumer takes their time in processing the resulting array and nulls out values as they go, we don't want the list referenced by the enumerator still keeping those objects referenced.
- Loading branch information