From af8716fcb1c1ca37eeb9c5c57467e78e6272b280 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 5 Sep 2023 19:28:43 +0200 Subject: [PATCH] Possible fix for #20 --- Tranga/Connectors/Mangasee.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tranga/Connectors/Mangasee.cs b/Tranga/Connectors/Mangasee.cs index ea9de48..76e60be 100644 --- a/Tranga/Connectors/Mangasee.cs +++ b/Tranga/Connectors/Mangasee.cs @@ -267,9 +267,12 @@ public class Mangasee : Connector string comicInfoPath = Path.GetTempFileName(); File.WriteAllText(comicInfoPath, chapter.GetComicInfoXmlString()); - + + page.CloseAsync(); return DownloadChapterImages(urls.ToArray(), chapter.GetArchiveFilePath(settings.downloadLocation), 1, parentTask, comicInfoPath, cancellationToken:cancellationToken); } + + page.CloseAsync(); return response.Status; } } \ No newline at end of file