|
|
@ -149,7 +149,7 @@ class Coroutine<T>( |
|
|
|
try { |
|
|
|
try { |
|
|
|
start?.let { dispatchVoidCallback(this, it) } |
|
|
|
start?.let { dispatchVoidCallback(this, it) } |
|
|
|
ensureActive() |
|
|
|
ensureActive() |
|
|
|
val value = executeBlock(scope, context, timeMillis ?: 0L, block) |
|
|
|
val value = executeBlock(this, context, timeMillis ?: 0L, block) |
|
|
|
ensureActive() |
|
|
|
ensureActive() |
|
|
|
success?.let { dispatchCallback(this, value, it) } |
|
|
|
success?.let { dispatchCallback(this, value, it) } |
|
|
|
} catch (e: Throwable) { |
|
|
|
} catch (e: Throwable) { |
|
|
|