Skip to content

Commit

Permalink
Notify observer to complete async stream (#5008)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreDX9 committed May 8, 2022
1 parent 201f112 commit 23b1018
Show file tree
Hide file tree
Showing 4 changed files with 744 additions and 0 deletions.
Expand Up @@ -129,6 +129,10 @@ public IDisposable Subscribe(IObserver<IOperationResult<TResult>> observer)
}
finally
{
// call observer's OnCompleted method to notify observer
// there is no further data is available.
observer.OnCompleted();

// after all the transport logic is finished we will dispose
// the request session.
session.RequestSession.Dispose();
Expand Down

0 comments on commit 23b1018

Please sign in to comment.