mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
re-enabled blocking argument check
This commit is contained in:
parent
4b517cf8c1
commit
dee48521dc
1 changed files with 5 additions and 5 deletions
|
@ -282,11 +282,11 @@ public class Interpreter {
|
|||
else b.opFunction = (primTable[op] == undefined) ? primNoop : primTable[op];
|
||||
}
|
||||
|
||||
// TODO: Optimize this into a cached check if the args *could* block at all
|
||||
// if(b.args.length && checkBlockingArgs(b)) {
|
||||
// doYield();
|
||||
// return null;
|
||||
// }
|
||||
// TODO: Optimize this into a cached check if the args *could* block at all
|
||||
if(b.args.length && checkBlockingArgs(b)) {
|
||||
doYield();
|
||||
return null;
|
||||
}
|
||||
|
||||
// Debug code
|
||||
if(debugFunc != null)
|
||||
|
|
Loading…
Reference in a new issue