mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-07 03:24:04 -04:00
Remove Thread.waitingReporter
This commit is contained in:
parent
5b511f6ea2
commit
bb4dbafbe1
2 changed files with 0 additions and 13 deletions
src/engine
|
@ -262,12 +262,6 @@ class Sequencer {
|
||||||
// Don't go to the next block for this level of the stack,
|
// Don't go to the next block for this level of the stack,
|
||||||
// since loops need to be re-executed.
|
// since loops need to be re-executed.
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
} else if (stackFrame.waitingReporter) {
|
|
||||||
// This level of the stack was waiting for a value.
|
|
||||||
// This means a reporter has just returned - so don't go
|
|
||||||
// to the next block for this level of the stack.
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
// Get next block of existing block on the stack.
|
// Get next block of existing block on the stack.
|
||||||
thread.goToNextBlock();
|
thread.goToNextBlock();
|
||||||
|
|
|
@ -44,12 +44,6 @@ class _StackFrame {
|
||||||
*/
|
*/
|
||||||
this.reported = null;
|
this.reported = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of waiting reporter.
|
|
||||||
* @type {string}
|
|
||||||
*/
|
|
||||||
this.waitingReporter = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Procedure parameters.
|
* Procedure parameters.
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
|
@ -74,7 +68,6 @@ class _StackFrame {
|
||||||
this.warpMode = false;
|
this.warpMode = false;
|
||||||
this.justReported = null;
|
this.justReported = null;
|
||||||
this.reported = null;
|
this.reported = null;
|
||||||
this.waitingReporter = null;
|
|
||||||
this.params = null;
|
this.params = null;
|
||||||
this.executionContext = null;
|
this.executionContext = null;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue