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,
}
}
} while (skipped && !timed_out);
if (timed_out)
if (timed_out) {
bhvr.handle_timeout();
else
seq.erase_and_advance();
// check loop post condition
if (!rcc.post())
return;
if (!rcc.post())
return;
} else {
if (rcc.post())
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