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:
parent
a26e6f5a30
commit
b5a2fcb96a
|
|
@ -190,6 +190,8 @@ namespace Microsoft.AspNetCore.Sockets.Client.Http
|
|||
{
|
||||
Log.SkippingDispose(_logger);
|
||||
}
|
||||
|
||||
_httpClient?.Dispose();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue