mirror of https://github.com/Cysharp/UniTask
fix #30 OnCompleted won't be called on UniTask.ToObservable()
when UniTask.IsCompleted == truepull/31/head
parent
10ba7bcfde
commit
47b701eed0
|
@ -257,6 +257,7 @@ namespace UniRx.Async
|
|||
public IDisposable Subscribe(IObserver<T> observer)
|
||||
{
|
||||
observer.OnNext(value);
|
||||
observer.OnCompleted();
|
||||
return EmptyDisposable.Instance;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue