Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ static async Task ValidateExceptionAsync(Task task)
{
await task;
}
catch (InvalidOperationException ex) when (ex.StackTrace?.Contains("System.IO.ConnectedStreams") ?? true)
catch (InvalidOperationException ex) when (ex.StackTrace is null ||
ex.StackTrace.Contains("System.IO.ConnectedStreams") ||
ex.StackTrace.Contains("System.IO.StreamBuffer.TryWriteToBuffer") ||
ex.StackTrace.Contains("System.IO.StreamBuffer.WriteAsync"))
{
Comment thread
rzikm marked this conversation as resolved.
// Writing to a disposed ConnectedStream (test only, does not happen with NetworkStream)
return;
Expand Down
Loading