mirror of
https://github.com/Radarr/Radarr
synced 2025-02-20 21:37:18 +00:00
Fixed: Apparently Microsoft thinks that you should cast to IDisposable first.
This commit is contained in:
parent
d4061bd13c
commit
d02d71c336
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public HttpResponse GetResponse(HttpRequest request, CookieContainer cookies)
|
|||
finally
|
||||
{
|
||||
webRequest = null;
|
||||
httpWebResponse?.Dispose();
|
||||
(httpWebResponse as IDisposable)?.Dispose();
|
||||
httpWebResponse = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue