diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-13 16:47:12 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-02-16 00:43:56 +0100 |
| commit | 3df8cda110a952ca529740f2b985c624c036a5f0 (patch) | |
| tree | bfa578b0bb7d07d7c1f0f49a02eb955588d05370 /Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs | |
| parent | 43cf11aa358d9db117c9e9063a650460284015db (diff) | |
ConfigureAwait
Diffstat (limited to 'Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs')
| -rw-r--r-- | Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs b/Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs index 12591a1cd..a0ffd1ccf 100644 --- a/Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs +++ b/Jellyfin.Server/SocketSharp/WebSocketSharpListener.cs @@ -83,7 +83,7 @@ namespace Jellyfin.Server.SocketSharp private void ProcessContext(HttpListenerContext context) { - _ = Task.Run(async () => await InitTask(context, _disposeCancellationToken)); + _ = Task.Run(async () => await InitTask(context, _disposeCancellationToken).ConfigureAwait(false)); } private static void LogRequest(ILogger logger, HttpListenerRequest request) |
