discord-jadx/app/src/main/java/j0/l/a/m0.java

34 lines
826 B
Java

package j0.l.a;
import b.i.a.f.e.o.f;
import j0.l.a.n0;
import java.util.ArrayList;
import java.util.Collection;
import rx.functions.Action0;
/* compiled from: OperatorBufferWithTime.java */
/* loaded from: classes3.dex */
public class m0 implements Action0 {
public final /* synthetic */ n0.a j;
public m0(n0.a aVar) {
this.j = aVar;
}
@Override // rx.functions.Action0
public void call() {
n0.a aVar = this.j;
synchronized (aVar) {
if (!aVar.m) {
Collection collection = aVar.l;
aVar.l = new ArrayList();
try {
aVar.j.onNext(collection);
} catch (Throwable th) {
f.o1(th);
aVar.onError(th);
}
}
}
}
}