Browse Source

Merge pull request #761 from danielcweber/PossiblyFixLatest

Fix Latest
Daniel C. Weber 7 years ago
parent
commit
6af51d0d18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Rx.NET/Source/src/System.Reactive/Linq/Observable/Latest.cs

+ 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();