Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Feb 21, 2017
2 parents 592e0ea + 072abb2 commit 64147f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Ix.NET/Source/System.Interactive.Async/ToObservable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void OnCompleted()

if (tcs != null)
{
tcs.SetResult(false);
tcs.TrySetResult(false);
}
}

Expand All @@ -140,7 +140,7 @@ public void OnError(Exception error)

if (tcs != null)
{
tcs.SetException(error);
tcs.TrySetException(error);
}
}

Expand All @@ -165,7 +165,7 @@ public void OnNext(T value)

if (tcs != null)
{
tcs.SetResult(true);
tcs.TrySetResult(true);
}
}
}
Expand Down

0 comments on commit 64147f0

Please sign in to comment.