Add missing .ConfigureAwait(false) to WebHost (#24390)

This commit is contained in:
Stephen Halter 2020-07-28 18:22:44 -07:00 committed by GitHub
parent 4aa5e03207
commit e225057370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ namespace Microsoft.AspNetCore.Hosting
switch (serviceProvider)
{
case IAsyncDisposable asyncDisposable:
await asyncDisposable.DisposeAsync();
await asyncDisposable.DisposeAsync().ConfigureAwait(false);
break;
case IDisposable disposable:
disposable.Dispose();