Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix Union Dispose bug #2112 #2131

Merged
merged 3 commits into from
Jun 19, 2024
Merged

Fix Union Dispose bug #2112 #2131

merged 3 commits into from
Jun 19, 2024

Conversation

idg10
Copy link
Collaborator

@idg10 idg10 commented Jun 18, 2024

Resolves #2112

If the first N inputs to Union produced no items, it would not dispose any of their enumerators. (Once one enumerator had produced at least one item, Union then got into a state where it would dispose further empty sources. The bug existed in the logic that looked for the first source to emit an item.)

@idg10 idg10 self-assigned this Jun 18, 2024
@idg10 idg10 merged commit 4f341fc into main Jun 19, 2024
5 checks passed
@idg10 idg10 deleted the feature/2112-union-dispose-empty branch June 19, 2024 12:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Union doesn't dispose enumerator for empty lists
2 participants