Let “zombifying” scripts access receivers’ local vars

pull/3/merge
jmoenig 2014-12-17 12:35:13 +01:00
rodzic fc256e9e72
commit b31df39d7f
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -2403,3 +2403,4 @@ ______
------
* Objects, Store: Experimental “processes” count watcher (hidden in dev mode)
* Threads: Remove terminated processes from expired clones
* Threads: Let “zombifying” scripts access receivers local vars

Wyświetl plik

@ -2546,6 +2546,7 @@ Process.prototype.reportContextFor = function (context, otherObj) {
if (result.outerContext) {
result.outerContext = copy(result.outerContext);
result.outerContext.receiver = otherObj;
result.outerContext.variables.parentFrame = otherObj.variables;
}
return result;
};