More logging
This commit is contained in:
parent
e3900e794d
commit
20397d32e6
@ -23,9 +23,11 @@ class ActionQueue {
|
|||||||
|
|
||||||
private async runNext() {
|
private async runNext() {
|
||||||
if (this.isRunning || this.queue.length === 0) {
|
if (this.isRunning || this.queue.length === 0) {
|
||||||
|
console.log("Refusing to run in runNext", this.queue.length, this.isRunning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.isRunning = true;
|
this.isRunning = true;
|
||||||
|
console.log("Running an action");
|
||||||
const action = this.queue.shift();
|
const action = this.queue.shift();
|
||||||
if (action) {
|
if (action) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user