You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnionAsyncIterator has the same issue as reported for UnionIterator and fixed in .NET 5. It seems as simple as moving the call to SetEnumeratorAsync up just before the if.
Thanks. I added a few tests to confirm the problem, and then verified that the fix you suggest does seem to fix it.
There are a fair few items on the backlog for Async LINQ. I'm hoping to get through a few more of them before doing another release, but if this is blocking you, let me know, and I can do a release without waiting to get any other fixes in.
* Fix Union Dispose bug #2112
* Update Ix build to use .NET 8.0 SDK
* Align ref project names with assembly names (This seems to have become necessary in .NET SDK 8.0.)
UnionAsyncIterator
has the same issue as reported forUnionIterator
and fixed in .NET 5. It seems as simple as moving the call toSetEnumeratorAsync
up just before theif
.reactive/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Union.cs
Lines 127 to 134 in bc34728
vs
(source: https://github.com/dotnet/runtime/blob/714a4420805ed53c311b05381c83c88894100fa9/src/libraries/System.Linq/src/System/Linq/Union.cs#L172-L178)
The text was updated successfully, but these errors were encountered: