Commit 291fec6d authored by Sebastian Woelke's avatar Sebastian Woelke

Fix scoped_actor skip problem

parent 50805464
...@@ -396,13 +396,16 @@ void blocking_actor::receive_impl(receive_cond& rcc, ...@@ -396,13 +396,16 @@ void blocking_actor::receive_impl(receive_cond& rcc,
} }
} }
} while (skipped && !timed_out); } while (skipped && !timed_out);
if (timed_out) if (timed_out) {
bhvr.handle_timeout(); bhvr.handle_timeout();
else if (!rcc.post())
seq.erase_and_advance(); return;
// check loop post condition } else {
if (!rcc.post()) if (rcc.post())
return; seq.erase_and_advance();
else
return;
}
} }
} }
......
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