Avoid stomping on current-actor-state if it is changed in patch-fn
This commit is contained in:
parent
f677c3a888
commit
9bb831cac5
|
@ -955,7 +955,7 @@
|
||||||
(mux-add-stream (actor-state-mux a)
|
(mux-add-stream (actor-state-mux a)
|
||||||
(parameterize ((current-dataflow-subject-id (list (current-facet-id) new-eid)))
|
(parameterize ((current-dataflow-subject-id (list (current-facet-id) new-eid)))
|
||||||
(patch-fn))))
|
(patch-fn))))
|
||||||
(current-actor-state (struct-copy actor-state a [mux new-mux]))
|
(current-actor-state (struct-copy actor-state (current-actor-state) [mux new-mux]))
|
||||||
(values new-eid delta-aggregate)))
|
(values new-eid delta-aggregate)))
|
||||||
(update-facet! (current-facet-id)
|
(update-facet! (current-facet-id)
|
||||||
(lambda (f)
|
(lambda (f)
|
||||||
|
|
Loading…
Reference in New Issue