pull/2146/head
821938089 2 years ago
parent 6356991920
commit ca481c6987
  1. 2
      app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt

@ -149,7 +149,7 @@ class Coroutine<T>(
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) {

Loading…
Cancel
Save