From 18c1ebc11e91b21548f65933e66a56887b01c229 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 22 Dec 2019 09:16:33 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/service/DownloadService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/service/DownloadService.kt b/app/src/main/java/io/legado/app/service/DownloadService.kt index 6948259a3..d665d6b8f 100644 --- a/app/src/main/java/io/legado/app/service/DownloadService.kt +++ b/app/src/main/java/io/legado/app/service/DownloadService.kt @@ -39,9 +39,9 @@ class DownloadService : BaseService() { } override fun onDestroy() { - super.onDestroy() tasks.clear() searchPool.close() + super.onDestroy() } private fun download(bookUrl: String?, start: Int, end: Int) {