Skip to content

Commit

Permalink
[Parameter Capturing] Fix race condition when starting operation (#6695)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoseph authored May 21, 2024
1 parent 7f381c9 commit 798744e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public async Task ExecuteAsync(Stream outputStream, CancellationToken token)
};

await using EventParameterCapturingPipeline eventTracePipeline = new(_endpointInfo.Endpoint, settings);
Task runPipelineTask = eventTracePipeline.StartAsync(token);
await eventTracePipeline.StartAsync(token).ConfigureAwait(false);

await _profilerChannel.SendMessage(
_endpointInfo,
Expand Down

0 comments on commit 798744e

Please sign in to comment.