Skip to content

Commit

Permalink
Fix an unnecessary thread pool dependency when waiting JTF collection.
Browse files Browse the repository at this point in the history
It leads slowdown during solution closing time.
  • Loading branch information
Lifeng Lu committed Aug 27, 2021
1 parent c83209a commit 81a8f09
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -175,7 +175,7 @@ public async Task JoinTillEmptyAsync(CancellationToken cancellationToken)

using (this.Join())
{
await this.emptyEvent.WaitAsync(cancellationToken).ConfigureAwait(false);
await this.emptyEvent.WaitAsync(cancellationToken).ConfigureAwaitRunInline();
}
}

Expand Down

0 comments on commit 81a8f09

Please sign in to comment.