From e43d9eb067815eaab76725f4c043f3fbe9ab886d Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Thu, 13 Dec 2018 20:17:03 +0000 Subject: [PATCH] Allow wrapExternal to work for nested dataspaces --- packages/core/src/relay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/relay.js b/packages/core/src/relay.js index 240ff7f..ba0a595 100644 --- a/packages/core/src/relay.js +++ b/packages/core/src/relay.js @@ -117,6 +117,7 @@ NestedDataspace.prototype.hookEndpointLifecycle = function (innerEp, outerEp) { }; NestedDataspace.prototype.start = function () { + this.outerFacet.actor.dataspace.start(); this.outerFacet.actor.pushScript(() => { Dataspace.withCurrentFacet(this.outerFacet, () => { if (this.outerFacet.isLive) {