diff options
| author | Orry Verducci <orry@orryverducci.co.uk> | 2020-08-10 22:17:13 +0100 |
|---|---|---|
| committer | Orry Verducci <orry@orryverducci.co.uk> | 2020-08-10 22:17:13 +0100 |
| commit | 2d6699fd470ba1f0fcabac9df4d5184205e0e351 (patch) | |
| tree | aa0f078df01baa798435ae25f3d5ee4945f7f501 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | ce51775e7426ff4e037d593715395684ebf9b08a (diff) | |
| parent | b82a3fee85298a1063069cae5ff4df3029e468b0 (diff) | |
Merge remote-tracking branch 'upstream/master' into deinterlace-improvements
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index 0d4a789b5..dafdd5b7b 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -567,7 +567,7 @@ namespace Emby.Server.Implementations.HttpServer WebSocket webSocket = await context.WebSockets.AcceptWebSocketAsync().ConfigureAwait(false); - var connection = new WebSocketConnection( + using var connection = new WebSocketConnection( _loggerFactory.CreateLogger<WebSocketConnection>(), webSocket, context.Connection.RemoteIpAddress, |
