- 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
30 lines
946 B
Java
30 lines
946 B
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class InvokeOnCancelling extends JobCancellingNode {
|
|
public static final AtomicIntegerFieldUpdater _invoked$FU = AtomicIntegerFieldUpdater.newUpdater(InvokeOnCancelling.class, "_invoked");
|
|
private volatile int _invoked;
|
|
public final Function1 handler;
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
|
|
invoke((Throwable) obj);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
public InvokeOnCancelling(Function1 function1) {
|
|
this.handler = function1;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CompletionHandlerBase
|
|
public void invoke(Throwable th) {
|
|
if (_invoked$FU.compareAndSet(this, 0, 1)) {
|
|
this.handler.invoke(th);
|
|
}
|
|
}
|
|
}
|