diff --git a/ui/media/main.js b/ui/media/main.js index ab7f82a2..7d5d90b8 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -669,8 +669,7 @@ async function checkTasks() { let success = await doMakeImage(newTask) task.batchesDone++ - if (!newTask.isProcessing || !success) { - task.isProcessing = false + if (!task.isProcessing || !success) { break }