Skip to content

Commit

Permalink
Merge pull request #56 from NeverMorewd/patch-1
Browse files Browse the repository at this point in the history
Update MessageReader.cs
  • Loading branch information
cyanfish authored Dec 29, 2023
2 parents 1767e2b + 18e42e0 commit af734ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GrpcDotNetNamedPipes/Internal/MessageReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task<bool> MoveNext(CancellationToken cancellationToken)
{
try
{
var combined =
using var combined =
CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, _callCancellationToken,
_deadline.Token);
return await _payloadQueue.MoveNext(combined.Token).ConfigureAwait(false);
Expand Down Expand Up @@ -73,4 +73,4 @@ public Task<TMessage> ReadNextMessage(CancellationToken cancellationToken)
return Current;
});
}
}
}

0 comments on commit af734ea

Please sign in to comment.