diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-08-05 00:00:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-05 00:00:15 -0400 |
| commit | 3e974c03519edd5ceb262a475a8b35ff2839add6 (patch) | |
| tree | d18dd39b10c85733c66dc4ce619a304a0087ca03 /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | |
| parent | ff4489575b0b29638285a0cf255289134900009f (diff) | |
| parent | 393666efcfa85e858857334b5cb5a3ec70586f20 (diff) | |
Merge pull request #3825 from crobibero/api-merge-again
Merge master into api-migration
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, |
