30 lines
652 B
Java
30 lines
652 B
Java
package o;
|
|
|
|
import java.util.ArrayDeque;
|
|
import java.util.Queue;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class VZb {
|
|
private boolean c;
|
|
public boolean d;
|
|
public boolean b = true;
|
|
private final Queue<Runnable> e = new ArrayDeque();
|
|
|
|
public final void e() {
|
|
if (this.c) {
|
|
return;
|
|
}
|
|
try {
|
|
this.c = true;
|
|
while ((!this.e.isEmpty()) && (this.d || !this.b)) {
|
|
Runnable poll = this.e.poll();
|
|
if (poll != null) {
|
|
poll.run();
|
|
}
|
|
}
|
|
} finally {
|
|
this.c = false;
|
|
}
|
|
}
|
|
}
|