From 3f767d3a28cac4482d339758b36d16670e421a57 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 5 Jan 2021 10:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/model/webBook/BookChapterList.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt b/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt index 271254e04..1bdf1ca05 100644 --- a/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt +++ b/app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt @@ -98,13 +98,13 @@ object BookChapterList { block.resume(finish(book, chapterList, reverse)) } ) { - block.resumeWithException(it) + block.cancel(it) } } } } }.onFailure { - block.resumeWithException(it) + block.cancel(it) } }