Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Stop auto queue on error

Jairo Correa2e6270e328d4
diff --git a/web/scripts/ui.js b/web/scripts/ui.js
index 1e7920167..c3b3fbda1 100644
--- a/web/scripts/ui.js
+++ b/web/scripts/ui.js
@@ -809,7 +809,8 @@ export class ComfyUI {
if (
this.lastQueueSize != 0 &&
status.exec_info.queue_remaining == 0 &&
- document.getElementById("autoQueueCheckbox").checked
+ document.getElementById("autoQueueCheckbox").checked &&
+ ! app.lastExecutionError
) {
app.queuePrompt(0, this.batchCount);
}