You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a PipeStream is passed to the UsePipe extension method, completing the returned PipeReader and PipeWriter will not usually dispose of the underlying pipe when on .NET Framework.
…Token
`PipeStream.ReadAsync` does not honor `CancellationToken` on .NET Framework.
This change works around this limitation by calling `Stream.Dispose()` when we're sure that the UsePipe front-end user is done using it, which causes the ReadAsync call to complete.
Fixes#162
When a
PipeStream
is passed to theUsePipe
extension method, completing the returnedPipeReader
andPipeWriter
will not usually dispose of the underlying pipe when on .NET Framework.See also: dotnet/runtime#31390
.NET Framework does not honor the
CancellationToken
passed toPipeStream.ReadAsync
once the async I/O has been requested.The text was updated successfully, but these errors were encountered: