mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04: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 @@ namespace NzbDrone.Common.Http.Dispatchers
|
|||
finally
|
||||
{
|
||||
webRequest = null;
|
||||
httpWebResponse?.Dispose();
|
||||
(httpWebResponse as IDisposable)?.Dispose();
|
||||
httpWebResponse = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue