diff --git a/app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt b/app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt index a1f1c08cf..16c82fabd 100644 --- a/app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt +++ b/app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt @@ -149,7 +149,7 @@ class Coroutine( try { start?.let { dispatchVoidCallback(this, it) } ensureActive() - val value = executeBlock(scope, context, timeMillis ?: 0L, block) + val value = executeBlock(this, context, timeMillis ?: 0L, block) ensureActive() success?.let { dispatchCallback(this, value, it) } } catch (e: Throwable) {