kunfei %!s(int64=4) %!d(string=hai) anos
pai
achega
f4c1fc9dd4

+ 1 - 1
app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt

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