mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-11 04:17:08 +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)
|
||||
task.batchesDone++
|
||||
|
||||
if (!newTask.isProcessing) {
|
||||
if (!newTask.isProcessing || !success) {
|
||||
task.isProcessing = false
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user