mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-13 13:27:55 +02:00
Original code was missing a check on 'success' to abort failed tasks.
This commit is contained in:
parent
b673e216b6
commit
89b911a9dc
@ -669,7 +669,7 @@ async function checkTasks() {
|
|||||||
let success = await doMakeImage(newTask)
|
let success = await doMakeImage(newTask)
|
||||||
task.batchesDone++
|
task.batchesDone++
|
||||||
|
|
||||||
if (!newTask.isProcessing) {
|
if (!newTask.isProcessing || !success) {
|
||||||
task.isProcessing = false
|
task.isProcessing = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user