Move popStack to inside execute

This commit is contained in:
Tim Mickel 2016-06-09 14:45:54 -04:00
parent b0441e2ef5
commit 88402ee68c
2 changed files with 2 additions and 2 deletions
src/engine

View file

@ -86,6 +86,8 @@ var execute = function (sequencer, thread, blockId) {
console.log('returned: ', primitiveReturnValue);
console.groupEnd();
}
// Pop the stack and stack frame
thread.popStack();
return primitiveReturnValue;
}
};