Allow pushing threads that are not on this.stacks

For flyout running
This commit is contained in:
Tim Mickel 2016-05-03 15:58:20 -04:00
parent 121cf17bda
commit 833f40cfe5
3 changed files with 3 additions and 9 deletions

View file

@ -237,9 +237,6 @@ Runtime.prototype.getOpcodeFunction = function (opcode) {
* @param {!string} id ID of block that starts the stack
*/
Runtime.prototype._pushThread = function (id) {
if (this.stacks.indexOf(id) < -1) {
return;
}
this.emit(Runtime.STACK_GLOW_ON, id);
var thread = new Thread(id);
this.threads.push(thread);

3
vm.js
View file

@ -1415,9 +1415,6 @@
* @param {!string} id ID of block that starts the stack
*/
Runtime.prototype._pushThread = function (id) {
if (this.stacks.indexOf(id) < -1) {
return;
}
this.emit(Runtime.STACK_GLOW_ON, id);
var thread = new Thread(id);
this.threads.push(thread);

6
vm.min.js vendored

File diff suppressed because one or more lines are too long