We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7720a2e commit 47fe812Copy full SHA for 47fe812
rt/src/Scheduler.mts
@@ -269,6 +269,8 @@ export class Scheduler implements SchedulerInterface {
269
for (let i = 0; i < maxThreadsPerLoop && this.__funloop.length > 0; ++i) {
270
// Pop front of function queue and set it to be the next thread.
271
this.__currentThread = this.__funloop.shift();
272
+ if (!this.__alive[this.__currentThread.tid.val.toString()]) { continue; }
273
+
274
dest = this.__currentThread.next;
275
276
// Run thread for `maxKontsPerThread` continuations.
0 commit comments