From 64b82f4dc23dd44be177629c02b3ca42dcc6e2ed Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Mon, 29 Aug 2016 09:52:34 -0400 Subject: [PATCH] Switch back j->i --- src/engine/runtime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index 1d591c7ac..afdb63cf2 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -350,8 +350,8 @@ Runtime.prototype._step = function () { } } var inactiveThreads = this.sequencer.stepThreads(this.threads); - for (var j = 0; j < inactiveThreads.length; j++) { - this._removeThread(inactiveThreads[j]); + for (var i = 0; i < inactiveThreads.length; i++) { + this._removeThread(inactiveThreads[i]); } };