mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix #1242
This commit is contained in:
@@ -164,7 +164,7 @@ internal sealed partial class GuideViewModel : Abstraction.ViewModel
|
|||||||
.Select(category => new DownloadSummary(serviceProvider, category))
|
.Select(category => new DownloadSummary(serviceProvider, category))
|
||||||
.ToObservableCollection();
|
.ToObservableCollection();
|
||||||
|
|
||||||
await Parallel.ForEachAsync(DownloadSummaries, async (summary, token) =>
|
await Parallel.ForEachAsync([..DownloadSummaries], async (summary, token) =>
|
||||||
{
|
{
|
||||||
if (await summary.DownloadAndExtractAsync().ConfigureAwait(false))
|
if (await summary.DownloadAndExtractAsync().ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user