Commit 81634aa2 authored by Dominik Charousset's avatar Dominik Charousset

do not send more than one reply message

parent ea2f6731
......@@ -111,7 +111,7 @@ void local_actor::reply_message(any_tuple&& what) {
if (id.valid() == false || id.is_response()) {
send_message(whom.get(), std::move(what));
}
else {
else if (!id.is_answered()) {
if (chaining_enabled()) {
if (whom->chained_sync_enqueue(this, id.response_id(), std::move(what))) {
m_chained_actor = whom;
......
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