mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user