This commit is contained in:
JustArchi
2020-07-15 16:43:59 +02:00
parent 3e9672bf30
commit d776e483cf
2 changed files with 3 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper {
}
}
internal async Task UpdateDepotKeys([NotNull] IReadOnlyCollection<SteamApps.DepotKeyCallback> depotKeyResults) {
internal async Task UpdateDepotKeys([NotNull] ICollection<SteamApps.DepotKeyCallback> depotKeyResults) {
if (depotKeyResults == null) {
throw new ArgumentNullException(nameof(depotKeyResults));
}

View File

@@ -361,10 +361,10 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper {
if (depotTasks.Count > 0) {
bot.ArchiLogger.LogGenericInfo($"Retrieving {depotTasks.Count} depot keys...");
SteamApps.DepotKeyCallback[] results;
IList<SteamApps.DepotKeyCallback> results;
try {
results = await Task.WhenAll(depotTasks).ConfigureAwait(false);
results = await Utilities.InParallel(depotTasks).ConfigureAwait(false);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);