53 lines
1.3 KiB
Java
53 lines
1.3 KiB
Java
package o;
|
|
|
|
import io.reactivex.rxjava3.exceptions.CompositeException;
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class fTN<T> extends AtomicReference<fSJ> implements InterfaceC13176fSx<T>, fSJ {
|
|
private fSQ<? super Throwable> b;
|
|
private fSQ<? super T> d;
|
|
|
|
public fTN(fSQ<? super T> fsq, fSQ<? super Throwable> fsq2) {
|
|
this.d = fsq;
|
|
this.b = fsq2;
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onError(Throwable th) {
|
|
lazySet(EnumC13192fTf.DISPOSED);
|
|
try {
|
|
this.b.c(th);
|
|
} catch (Throwable th2) {
|
|
C13147fSI.c(th2);
|
|
C13418fZu.c(new CompositeException(th, th2));
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onSubscribe(fSJ fsj) {
|
|
EnumC13192fTf.a(this, fsj);
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void e(T t) {
|
|
lazySet(EnumC13192fTf.DISPOSED);
|
|
try {
|
|
this.d.c(t);
|
|
} catch (Throwable th) {
|
|
C13147fSI.c(th);
|
|
C13418fZu.c(th);
|
|
}
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
EnumC13192fTf.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return get() == EnumC13192fTf.DISPOSED;
|
|
}
|
|
}
|