From 2e6270e328d4b43f9d76172f21f6d7636bf4a452 Mon Sep 17 00:00:00 2001 From: Jairo Correa Date: Sat, 14 Oct 2023 11:56:44 -0300 Subject: [PATCH] Stop auto queue on error --- web/scripts/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 1e792016..c3b3fbda 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); }