Files
rr3-apk/decompiled-community/sources/kotlinx/coroutines/CancelFutureOnCancel.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

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 + ']';
}
}