From 6aca46dc05d016d3aa2916fbd86bf5055ad64b25 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Thu, 13 Jun 2024 13:05:25 -0700 Subject: [PATCH] Fix error in compile loop (#73976) This is a silly error where I was tracknig the wrong value in the loop condition. Hadn't noticed because the bad code works as long as `maxParallel` is greater than 1. --- src/Tools/Replay/Replay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/Replay/Replay.cs b/src/Tools/Replay/Replay.cs index 47c4550450a52..2aecc5943a7cf 100644 --- a/src/Tools/Replay/Replay.cs +++ b/src/Tools/Replay/Replay.cs @@ -158,7 +158,7 @@ static async IAsyncEnumerable BuildAllAsync( var buildData = await completedTask.ConfigureAwait(false); yield return buildData; - } while (tasks.Count > 0); + } while (index < compilerCalls.Count); string GetOutputName(CompilerCall compilerCall) {