Commit 5744dc5d authored by Dominik Charousset's avatar Dominik Charousset

Fix bug in blocking actor

parent 8b8f4720
......@@ -325,7 +325,7 @@ void blocking_actor::receive_impl(receive_cond& rcc,
timed_out = false;
auto& x = seq.value();
// skip messages that don't match our message ID
if (x.mid != mid) {
if (mid.valid() && mid != x.mid) {
skipped = true;
} else {
// blocking actors can use nested receives => restore current_element_
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment