package kotlinx.coroutines;

/* JADX INFO: compiled from: CancellableContinuation.kt */
/* JADX INFO: loaded from: classes.dex */
final class d1 extends l {
    private final c1 b;

    public d1(c1 c1Var) {
        this.b = c1Var;
    }

    @Override // kotlinx.coroutines.m
    public void b(Throwable th) {
        this.b.dispose();
    }

    @Override // h.x.c.l
    public /* bridge */ /* synthetic */ h.r invoke(Throwable th) {
        b(th);
        return h.r.a;
    }

    public String toString() {
        return "DisposeOnCancel[" + this.b + ']';
    }
}
