Horis 1 rok temu
rodzic
commit
28b77d58c3

+ 2 - 1
app/src/main/java/io/legado/app/model/CacheBook.kt

@@ -354,7 +354,8 @@ object CacheBook {
                 book,
                 chapter,
                 start = CoroutineStart.LAZY,
-                executeContext = IO
+                executeContext = IO,
+                semaphore = semaphore
             ).onSuccess { content ->
                 onSuccess(chapter)
                 ReadBook.downloadedChapters.add(chapter.index)