瀏覽代碼

Clarify code comment.

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Neuheit 2 年之前
父節點
當前提交
292c4ebe72
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs

+ 0 - 2
Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs

@@ -72,8 +72,6 @@ namespace Jellyfin.Networking.HappyEyeballs
             using var cancelIPv4 = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
             var tryConnectAsyncIPv4 = AttemptConnection(AddressFamily.InterNetwork, context, cancelIPv4.Token);
 
-            //Both connect tasks use GetAwaiter().GetResult() as the appropriate task has already been completed.
-            //This results in improved exception handling.
             if (await Task.WhenAny(tryConnectAsyncIPv6, tryConnectAsyncIPv4).ConfigureAwait(false) == tryConnectAsyncIPv6)
             {
                 if (tryConnectAsyncIPv6.IsCompletedSuccessfully)