Skip to content

Conversation

roji
Copy link
Member

@roji roji commented Aug 1, 2025

Adding test coverage here is quite difficult/impractical - the bug is that a certain internal resource (DbDataReader) doesn't get disposed, which isn't something visible we can check. In any case, the fix is quite trivial and follows the same pattern as for the very similar SplitQueryingEnumerable (non-GroupBy).

Fixes #34280

@roji roji requested a review from a team as a code owner August 1, 2025 18:08
@roji roji enabled auto-merge (squash) August 1, 2025 18:10
@roji roji merged commit 08f094b into dotnet:main Aug 1, 2025
7 checks passed
@roji roji deleted the GroupBySplitDisposal branch August 1, 2025 20:31
roji added a commit to roji/efcore that referenced this pull request Aug 2, 2025
roji added a commit to roji/efcore that referenced this pull request Aug 2, 2025
roji added a commit to roji/efcore that referenced this pull request Aug 2, 2025
@SamMonoRT
Copy link
Member

cc @artl93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GroupBySplitQueryingEnumerable not disposing related data readers
3 participants