Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Tools/Replay/Replay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ static async IAsyncEnumerable<BuildData> BuildAllAsync(
var maxParallel = options.MaxParallel;
var tasks = new List<Task<BuildData>>(capacity: maxParallel);
var outputSet = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
var completed = 0;

do
{
Expand All @@ -204,7 +205,8 @@ static async IAsyncEnumerable<BuildData> BuildAllAsync(

var buildData = await completedTask.ConfigureAwait(false);
yield return buildData;
} while (index < compilerCalls.Count);
completed++;
} while (completed < compilerCalls.Count);

string GetOutputName(CompilerCall compilerCall)
{
Expand Down
Loading