diff --git a/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs b/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs index 7e06623022..bfa74fc2d0 100644 --- a/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs +++ b/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs @@ -108,8 +108,6 @@ namespace Microsoft.AspNetCore.SignalR catch (Exception ex) { _logger.LogError(0, ex, "Error when invoking OnConnectedAsync on hub."); - connection.Transport.Input.Complete(ex); - connection.Transport.Output.Complete(ex); throw; } }