Browse Source

Remove unnecessary dispose call.

akarnokd 6 năm trước cách đây
mục cha
commit
628cba8382
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Zip.cs

+ 0 - 1
Rx.NET/Source/src/System.Reactive/Linq/Observable/Zip.cs

@@ -334,7 +334,6 @@ namespace System.Reactive.Linq.ObservableImpl
                     }
                     if (Interlocked.Increment(ref _enumerationInProgress) != 1)
                     {
-                        currentEnumerator.Dispose();
                         return;
                     }
                     bool hasNext;