Skip to content

Commit

Permalink
Merge pull request #900 from microsoft/dev/lifengl/fixUnnecessaryThre…
Browse files Browse the repository at this point in the history
…adPoolDep

Fix an unnecessary thread pool dependency when waiting JTF collection.
  • Loading branch information
AArnott committed Aug 28, 2021
2 parents c83209a + 81a8f09 commit 29cc43c
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 29cc43c

Please sign in to comment.