- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
31 lines
761 B
Java
31 lines
761 B
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.Future;
|
|
import kotlin.Unit;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class CancelFutureOnCancel extends CancelHandler {
|
|
public final Future future;
|
|
|
|
public CancelFutureOnCancel(Future future) {
|
|
this.future = future;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
|
|
invoke((Throwable) obj);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CancelHandlerBase
|
|
public void invoke(Throwable th) {
|
|
if (th != null) {
|
|
this.future.cancel(false);
|
|
}
|
|
}
|
|
|
|
public String toString() {
|
|
return "CancelFutureOnCancel[" + this.future + ']';
|
|
}
|
|
}
|