mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-28 06:59:45 -04:00
Revert "Push reported"
This commit is contained in:
parent
0e4e6be9e7
commit
107adad647
8 changed files with 66 additions and 199 deletions
src/engine
|
@ -861,9 +861,6 @@ class Runtime extends EventEmitter {
|
|||
thread.target = target;
|
||||
thread.stackClick = opts.stackClick;
|
||||
thread.updateMonitor = opts.updateMonitor;
|
||||
thread.blockContainer = opts.updateMonitor ?
|
||||
this.monitorBlocks :
|
||||
target.blocks;
|
||||
|
||||
thread.pushStack(id);
|
||||
this.threads.push(thread);
|
||||
|
@ -893,7 +890,6 @@ class Runtime extends EventEmitter {
|
|||
newThread.target = thread.target;
|
||||
newThread.stackClick = thread.stackClick;
|
||||
newThread.updateMonitor = thread.updateMonitor;
|
||||
newThread.blockContainer = thread.blockContainer;
|
||||
newThread.pushStack(thread.topBlock);
|
||||
const i = this.threads.indexOf(thread);
|
||||
if (i > -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue