Fixed: Apparently Microsoft thinks that you should cast to IDisposable first.

pull/3227/head
Leonardo Galli 6 years ago
parent d4061bd13c
commit d02d71c336

@ -95,7 +95,7 @@ namespace NzbDrone.Common.Http.Dispatchers
finally
{
webRequest = null;
httpWebResponse?.Dispose();
(httpWebResponse as IDisposable)?.Dispose();
httpWebResponse = null;
}
}

Loading…
Cancel
Save