Allow #376 to process a httpCall for http extensions by not previously
setting firstTime true for 'w' block.
This commit is contained in:
scraxe 2014-06-02 10:48:31 +01:00
parent 4e0e83b479
commit 9b4b1d1f07

View file

@ -339,11 +339,11 @@ public class ExtensionManager {
var id:int = ++ext.nextID; // assign a unique ID for this call
ext.busy.push(id);
activeThread.tmp = id;
activeThread.firstTime = false;
app.interp.doYield();
justStartedWait = true;
if(ext.port == 0) {
activeThread.firstTime = false;
if(app.jsEnabled)
ExternalInterface.call('ScratchExtensions.runAsync', ext.name, primOrVarName, args, id);
else