From ab9ca2a7dade6a442bf4979e4a1f6f3ed573f0c0 Mon Sep 17 00:00:00 2001 From: Netshroud Date: Sun, 26 Mar 2017 12:26:29 +1100 Subject: [PATCH] Cleanup --- DepotDownloader/CDNClientPool.cs | 4 +--- DepotDownloader/ConfigStore.cs | 2 -- DepotDownloader/ProtoManifest.cs | 1 - DepotDownloader/Util.cs | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/DepotDownloader/CDNClientPool.cs b/DepotDownloader/CDNClientPool.cs index 8747243d..2b4336cc 100644 --- a/DepotDownloader/CDNClientPool.cs +++ b/DepotDownloader/CDNClientPool.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using System.Net; -using System.Text; using System.Threading; using System.Threading.Tasks; @@ -72,7 +70,7 @@ namespace DepotDownloader steamSession.steamClient.IsConnected && steamSession.steamClient.GetServersOfType(EServerType.CS).Count > 0) { - var servers = await FetchBootstrapServerListAsync(); + var servers = await FetchBootstrapServerListAsync().ConfigureAwait(false); var weightedCdnServers = servers.Select(x => { diff --git a/DepotDownloader/ConfigStore.cs b/DepotDownloader/ConfigStore.cs index 34e0b803..df580736 100644 --- a/DepotDownloader/ConfigStore.cs +++ b/DepotDownloader/ConfigStore.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using ProtoBuf; using System.IO; using System.IO.Compression; diff --git a/DepotDownloader/ProtoManifest.cs b/DepotDownloader/ProtoManifest.cs index edc002e4..6a80da47 100644 --- a/DepotDownloader/ProtoManifest.cs +++ b/DepotDownloader/ProtoManifest.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.IO; using System.IO.Compression; -using System.Linq; using ProtoBuf; using SteamKit2; diff --git a/DepotDownloader/Util.cs b/DepotDownloader/Util.cs index 02b8bc8c..52e3fee4 100644 --- a/DepotDownloader/Util.cs +++ b/DepotDownloader/Util.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; -using SteamKit2; namespace DepotDownloader {