From 72259dcae04ce307d639e811b01690d7cc133a93 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 16 Sep 2013 11:58:19 +0200 Subject: Custom Block Evaluation Scope fix minor glitch which affected "VEE" --- threads.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'threads.js') diff --git a/threads.js b/threads.js index ab36e87..b8acc7e 100644 --- a/threads.js +++ b/threads.js @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2013-August-12'; +modules.threads = '2013-September-16'; var ThreadManager; var Process; @@ -990,7 +990,8 @@ Process.prototype.evaluateCustomBlock = function () { if (!context) {return null; } outer = new Context(); outer.receiver = this.context.receiver; // || this.homeContext.receiver; - outer.variables.parentFrame = outer.receiver.variables; + outer.variables.parentFrame = outer.receiver ? + outer.receiver.variables : null; runnable = new Context( this.context.parentContext, -- cgit v1.3.1