Only respond to link-results that are genuinely intended for us.
This can be a concern if some facet subscribes to wildcard. An improved design would ensure facets only receive events that fall within its interests.
This commit is contained in:
parent
96fe9f46e1
commit
92be8eaf70
|
@ -287,7 +287,7 @@
|
||||||
(if quit? ;; TODO: raise exception instead? Signal the cause of the quit somehow?
|
(if quit? ;; TODO: raise exception instead? Signal the cause of the quit somehow?
|
||||||
(quit)
|
(quit)
|
||||||
#f)]
|
#f)]
|
||||||
[(message (link-result _ callee-id reply-values))
|
[(message (link-result (== (actor-state-self-id s)) callee-id reply-values))
|
||||||
(invoke-stored-continuation s callee-id reply-values)]
|
(invoke-stored-continuation s callee-id reply-values)]
|
||||||
[_ #f]))
|
[_ #f]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue