Skip to content

Commit

Permalink
Remove pipestream close call
Browse files Browse the repository at this point in the history
This should be unnecessary now, and might be hanging in some conditions
  • Loading branch information
cyanfish committed Aug 5, 2023
1 parent 55813df commit a3c2b2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions GrpcDotNetNamedPipes/Internal/ClientConnectionContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ public override void HandleTrailers(Metadata trailers, Status status)
_responseTrailers = trailers ?? new Metadata();
_status = status;

_pipeStream.Close();

if (_pendingPayload != null)
{
_payloadQueue.AppendPayload(_pendingPayload);
Expand Down Expand Up @@ -159,8 +157,8 @@ public void DisposeCall()

public void Dispose()
{
_cancelReg.Dispose();
_payloadQueue.Dispose();
_pipeStream.Dispose();
_cancelReg.Dispose();
}
}

0 comments on commit a3c2b2b

Please sign in to comment.