Skip to content

Commit

Permalink
Fix flacky test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnas committed Sep 18, 2024
1 parent 0c09d05 commit 7502ae0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private async Task<bool> ProcessCommand(byte[] receivedData)
{
// NOTE: we want to accept the profiler registration command before starting to send events from another thread
// so we don't await this async method
StartClientAsync();
Task.Run(() => StartClientAsync());
}

return _profilerHasRegistered;
Expand Down

0 comments on commit 7502ae0

Please sign in to comment.