mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-28 01:48:56 +01:00
Fix error on stopping tasks.
This commit is contained in:
parent
89b911a9dc
commit
8b5b9ee8f1
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user