mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-12 22:42:03 -04:00
Move popStack to inside execute
This commit is contained in:
parent
b0441e2ef5
commit
88402ee68c
2 changed files with 2 additions and 2 deletions
src/engine
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue