From 8c7f33a6d7dd080aaaebc367320b826f00012e6f Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Wed, 2 May 2018 21:53:39 -0700 Subject: [PATCH] Port C# client perf fix to release (#2189) --- src/Microsoft.AspNetCore.SignalR.Client.Core/HubConnection.cs | 3 --- 1 file changed, 3 deletions(-) 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)) {