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

34 lines
826 B
Java
Raw Normal View History

2021-11-08 18:25:28 +00:00
package j0.l.a;
2021-06-27 20:44:35 +00:00
2022-01-27 00:50:41 +00:00
import b.i.a.f.e.o.f;
2021-11-08 18:25:28 +00:00
import j0.l.a.n0;
2021-06-27 20:44:35 +00:00
import java.util.ArrayList;
import java.util.Collection;
import rx.functions.Action0;
2022-03-02 20:59:20 +00:00
/* compiled from: OperatorBufferWithTime.java */
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public class m0 implements Action0 {
2021-12-17 22:03:14 +00:00
public final /* synthetic */ n0.a j;
2021-06-27 20:44:35 +00:00
public m0(n0.a aVar) {
2021-12-17 22:03:14 +00:00
this.j = aVar;
2021-06-27 20:44:35 +00:00
}
@Override // rx.functions.Action0
public void call() {
2021-12-17 22:03:14 +00:00
n0.a aVar = this.j;
2021-06-27 20:44:35 +00:00
synchronized (aVar) {
2021-12-17 22:03:14 +00:00
if (!aVar.m) {
Collection collection = aVar.l;
aVar.l = new ArrayList();
2021-06-27 20:44:35 +00:00
try {
2021-12-17 22:03:14 +00:00
aVar.j.onNext(collection);
2021-06-27 20:44:35 +00:00
} catch (Throwable th) {
2022-01-27 00:50:41 +00:00
f.o1(th);
2021-06-27 20:44:35 +00:00
aVar.onError(th);
}
}
}
}
}