Stop auto queue on error

This commit is contained in:
Jairo Correa 2023-10-14 11:56:44 -03:00
parent 3fcab0c642
commit 2e6270e328
1 changed files with 2 additions and 1 deletions

View File

@ -809,7 +809,8 @@ export class ComfyUI {
if ( if (
this.lastQueueSize != 0 && this.lastQueueSize != 0 &&
status.exec_info.queue_remaining == 0 && status.exec_info.queue_remaining == 0 &&
document.getElementById("autoQueueCheckbox").checked document.getElementById("autoQueueCheckbox").checked &&
! app.lastExecutionError
) { ) {
app.queuePrompt(0, this.batchCount); app.queuePrompt(0, this.batchCount);
} }