mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02: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