tweaked continuations

dev
jmoenig 2016-10-24 20:37:39 +02:00
rodzic 6606ed2ed8
commit 070636228a
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -3085,3 +3085,4 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
------
* Text Editing Tweaks, thanks, Bernat!!
* Store: fixed #1472
* Trheads: Tweak continuations

Wyświetl plik

@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy,
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph,
TableFrameMorph, isSnapObject*/
modules.threads = '2016-October-21';
modules.threads = '2016-October-24';
var ThreadManager;
var Process;
@ -3531,7 +3531,9 @@ Context.prototype.continuation = function () {
} else if (this.parentContext) {
cont = this.parentContext;
} else {
return new Context(null, 'doStop');
cont = new Context(null, 'expectReport');
cont.isContinuation = true;
return cont;
}
cont = cont.copyForContinuation();
cont.tag = null;