Remove ConfigureAwait(false) when there is no await (#13897)
This commit is contained in:
parent
c74e9efd0e
commit
b759d3d7c3
|
|
@ -355,7 +355,7 @@ namespace Microsoft.AspNetCore.Hosting
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
DisposeAsync().ConfigureAwait(false).GetAwaiter().GetResult();
|
||||
DisposeAsync().GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
public async ValueTask DisposeAsync()
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ namespace Microsoft.AspNetCore.Http.Features
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
DisposeAsync().ConfigureAwait(false).GetAwaiter().GetResult();
|
||||
DisposeAsync().GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue