This commit is contained in:
Horis 2024-04-12 19:34:20 +08:00
parent 143f3e6e1d
commit 3800db5a4b

View File

@ -300,6 +300,9 @@ object ReadBook : CoroutineScope by MainScope() {
}
fun recycleRecorders(beforeIndex: Int, afterIndex: Int) {
if (!AppConfig.optimizeRender) {
return
}
executor.execute {
val textChapter = curTextChapter ?: return@execute
if (afterIndex > beforeIndex) {