Dispose the http client in DisposeAsync (#1780)

- This layer of the stack is no longer reusable and
this disposable was removed (I assume by mistake) in the big refactoring
This commit is contained in:
David Fowler 2018-03-30 01:57:14 -07:00 committed by GitHub
parent a26e6f5a30
commit b5a2fcb96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ namespace Microsoft.AspNetCore.Sockets.Client.Http
{
Log.SkippingDispose(_logger);
}
_httpClient?.Dispose();
}
finally
{