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)
|
||||
(parameterize ((current-dataflow-subject-id (list (current-facet-id) new-eid)))
|
||||
(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)))
|
||||
(update-facet! (current-facet-id)
|
||||
(lambda (f)
|
||||
|
|
Loading…
Reference in New Issue