diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 1cef730b..9851e8c6 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -698,6 +698,8 @@ namespace DepotDownloader try { + await semaphore.WaitAsync().ConfigureAwait( false ); + string fileFinalPath = Path.Combine( depot.installDir, file.FileName ); string fileStagingPath = Path.Combine( stagingDir, file.FileName );