diff --git a/src/Microsoft.AspNetCore.SignalR.Client.Core/HubConnection.cs b/src/Microsoft.AspNetCore.SignalR.Client.Core/HubConnection.cs index fc8cc15de3..8f6b72af56 100644 --- a/src/Microsoft.AspNetCore.SignalR.Client.Core/HubConnection.cs +++ b/src/Microsoft.AspNetCore.SignalR.Client.Core/HubConnection.cs @@ -530,9 +530,6 @@ namespace Microsoft.AspNetCore.SignalR.Client private async Task DispatchInvocationAsync(InvocationMessage invocation) { - // Make sure we get off the main event loop before we dispatch into user code - await AwaitableThreadPool.Yield(); - // Find the handler if (!_handlers.TryGetValue(invocation.Target, out var invocationHandlerList)) {