mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 14:34:27 +02:00
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:
parent
6513ab38d0
commit
00d376d4ac
@ -55,6 +55,8 @@ export const checkTasks = () => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// start the nearest waiting task and wait to be called again
|
// start the nearest waiting task and wait to be called again
|
||||||
|
Loading…
x
Reference in New Issue
Block a user