mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
Fix typo and missing return
This commit is contained in:
@@ -64,9 +64,10 @@ class SimpleFunctionQueue {
|
||||
}
|
||||
if (config.signal.aborted) {
|
||||
debug(`${this.#id} Queue: Skipping addition to queue due to "${config.signal.reason}"`);
|
||||
return;
|
||||
}
|
||||
this.#queue.push(config);
|
||||
if (!this.busy) {
|
||||
if (!this.#running) {
|
||||
this.#runNext();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user