web/scheduler: break the global loop if current task is not done

i forgot to put break here, just blinded out that break on line 55 is breaking only its own inner loop
This commit is contained in:
wukko 2025-01-31 22:08:57 +06:00
parent 6513ab38d0
commit 00d376d4ac
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -55,6 +55,8 @@ export const checkTasks = () => {
break;
}
}
break;
}
// start the nearest waiting task and wait to be called again