Pārlūkot izejas kodu

Merge pull request #761 from danielcweber/PossiblyFixLatest

Fix Latest
Daniel C. Weber 7 gadi atpakaļ
vecāks
revīzija
6af51d0d18

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

@@ -116,7 +116,7 @@ namespace System.Reactive.Linq.ObservableImpl
                 switch (kind)
                 {
                     case NotificationKind.OnNext:
-                        current = _value;
+                        current = value;
                         return true;
                     case NotificationKind.OnError:
                         error.Throw();