Skip to content

Commit 847088c

Browse files
committed
Remove unused thread.isKilled check
This check only makes sense if isKilled === true implies that it was already removed from threads, however that is not the case in the VM itself and especially in some extensions.
1 parent f548d1b commit 847088c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/engine/sequencer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ class Sequencer {
128128
}
129129
this.stepThread(activeThread);
130130
activeThread.warpTimer = null;
131-
if (activeThread.isKilled) {
132-
i--; // if the thread is removed from the list (killed), do not increase index
133-
}
134131
}
135132
if (activeThread.status === Thread.STATUS_RUNNING) {
136133
numActiveThreads++;

0 commit comments

Comments
 (0)