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.)
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.)