Hack: keep workers running until the relay quits; this is arguably the wrong approach to a real problem
This commit is contained in:
parent
1cb66959dd
commit
3b18ac6800
|
@ -141,6 +141,9 @@ function spawnWorkerRelay() {
|
||||||
Dataspace.spawn('WorkerRelay', function () {
|
Dataspace.spawn('WorkerRelay', function () {
|
||||||
const outerFacet = Dataspace.currentFacet();
|
const outerFacet = Dataspace.currentFacet();
|
||||||
|
|
||||||
|
const finish = Dataspace.backgroundTask();
|
||||||
|
outerFacet.addStopScript(finish);
|
||||||
|
|
||||||
let outboundEndpoints = Map();
|
let outboundEndpoints = Map();
|
||||||
let inboundEndpoints = Map();
|
let inboundEndpoints = Map();
|
||||||
let nextId = 0;
|
let nextId = 0;
|
||||||
|
|
Loading…
Reference in New Issue