mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Fixed: Apparently Microsoft thinks that you should cast to IDisposable first.
This commit is contained in:
@@ -95,7 +95,7 @@ namespace NzbDrone.Common.Http.Dispatchers
|
||||
finally
|
||||
{
|
||||
webRequest = null;
|
||||
httpWebResponse?.Dispose();
|
||||
(httpWebResponse as IDisposable)?.Dispose();
|
||||
httpWebResponse = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user