relocated Dispose

pull/7732/head
Luke Brown 3 years ago
parent f088ca5555
commit 9e31d5a73f

@ -276,8 +276,9 @@ namespace Emby.Server.Implementations.HttpServer
if (_socket.State == WebSocketState.Open)
{
await _socket.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "System Shutdown", CancellationToken.None).ConfigureAwait(false);
_socket.Dispose();
}
_socket.Dispose();
}
}
}

Loading…
Cancel
Save