|
|
@ -146,7 +146,7 @@ class Coroutine<T>( |
|
|
|
success?.let { dispatchCallback(this, value, it) } |
|
|
|
success?.let { dispatchCallback(this, value, it) } |
|
|
|
} catch (e: Throwable) { |
|
|
|
} catch (e: Throwable) { |
|
|
|
e.printOnDebug() |
|
|
|
e.printOnDebug() |
|
|
|
if (e is CancellationException && e !is ActivelyCancelException) { |
|
|
|
if (isActive) { |
|
|
|
this@Coroutine.cancel() |
|
|
|
this@Coroutine.cancel() |
|
|
|
} |
|
|
|
} |
|
|
|
if (e is CancellationException && e !is TimeoutCancellationException) { |
|
|
|
if (e is CancellationException && e !is TimeoutCancellationException) { |
|
|
|