Skip to content

Commit 6aca46d

Browse files
authored
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.
1 parent 0b83719 commit 6aca46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tools/Replay/Replay.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static async IAsyncEnumerable<BuildData> BuildAllAsync(
158158

159159
var buildData = await completedTask.ConfigureAwait(false);
160160
yield return buildData;
161-
} while (tasks.Count > 0);
161+
} while (index < compilerCalls.Count);
162162

163163
string GetOutputName(CompilerCall compilerCall)
164164
{

0 commit comments

Comments
 (0)