Ensure the correct use of disposable parsed documents

This commit is contained in:
Bogdan
2023-10-04 05:36:39 +03:00
parent 93ec6cf89b
commit 19a196e2c7
34 changed files with 63 additions and 63 deletions
@@ -225,7 +225,7 @@ namespace NzbDrone.Core.Indexers.Definitions
var releaseInfos = new List<ReleaseInfo>();
var parser = new HtmlParser();
var dom = parser.ParseDocument(indexerResponse.Content);
using var dom = parser.ParseDocument(indexerResponse.Content);
var table = dom.QuerySelector("table.movehere");
if (table == null)