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:
Tony Garnock-Jones 2016-02-19 20:09:40 -05:00
parent 96fe9f46e1
commit 92be8eaf70
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@
(if quit? ;; TODO: raise exception instead? Signal the cause of the quit somehow?
(quit)
#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)]
[_ #f]))