52 lines
1.2 KiB
Java
52 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.concurrent.atomic.AtomicReference;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class fTP extends AtomicReference<fSJ> implements InterfaceC13154fSb, fSJ {
|
||
|
private fSP c;
|
||
|
private fSQ<? super Throwable> d;
|
||
|
|
||
|
public fTP(fSQ<? super Throwable> fsq, fSP fsp) {
|
||
|
this.d = fsq;
|
||
|
this.c = fsp;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13154fSb
|
||
|
public final void onComplete() {
|
||
|
try {
|
||
|
this.c.c();
|
||
|
} catch (Throwable th) {
|
||
|
C13147fSI.c(th);
|
||
|
C13418fZu.c(th);
|
||
|
}
|
||
|
lazySet(EnumC13192fTf.DISPOSED);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13154fSb
|
||
|
public final void onError(Throwable th) {
|
||
|
try {
|
||
|
this.d.c(th);
|
||
|
} catch (Throwable th2) {
|
||
|
C13147fSI.c(th2);
|
||
|
C13418fZu.c(th2);
|
||
|
}
|
||
|
lazySet(EnumC13192fTf.DISPOSED);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13154fSb
|
||
|
public final void onSubscribe(fSJ fsj) {
|
||
|
EnumC13192fTf.a(this, fsj);
|
||
|
}
|
||
|
|
||
|
@Override // o.fSJ
|
||
|
public final void dispose() {
|
||
|
EnumC13192fTf.e(this);
|
||
|
}
|
||
|
|
||
|
@Override // o.fSJ
|
||
|
public final boolean isDisposed() {
|
||
|
return get() == EnumC13192fTf.DISPOSED;
|
||
|
}
|
||
|
}
|