Dataflow blocks should contribute to facet liveness I guess, since they aren't removable

This commit is contained in:
Tony Garnock-Jones 2021-12-11 15:43:56 +01:00
parent f540b41d73
commit 8888ac3fe9
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ export class Turn {
dataflow(a: LocalAction) {
const f = this.activeFacet;
f.preventInertCheck();
const b = () => f.isLive && Turn.active._inFacet(f, a);
f.onStop(() => f.actor.dataflowGraph.forgetSubject(b));
f.actor.dataflowGraph.withSubject(b, b);