Refactor: Pre-process Dell catalog before parallel downloads

Moves the Dell catalog download and preparation logic from the individual driver download task to the parent function.

This prevents a race condition where multiple parallel tasks would attempt to download and extract the same catalog file simultaneously. The catalog is now prepared once before any driver downloads begin, improving efficiency and reliability.

Additionally, comments out manual garbage collection calls in the VM build UI.
This commit is contained in:
rbalsleyMSFT
2025-06-20 16:30:23 -07:00
parent d0c5ddc9c7
commit 2e497ccec8
3 changed files with 50 additions and 36 deletions
+3 -3
View File
@@ -167,9 +167,9 @@ $window.Add_Closed({
}
}
# Garbage collection
[System.GC]::Collect()
[System.GC]::WaitForPendingFinalizers()
# # Garbage collection
# [System.GC]::Collect()
# [System.GC]::WaitForPendingFinalizers()
})
[void]$window.ShowDialog()