Permalink
Browse files

do not send more than one reply message

  • Loading branch information...
1 parent ea2f673 commit 81634aa2c3e7efc80ae03f7be17d5e818068fbdd @Neverlord Neverlord committed Aug 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/local_actor.cpp
View
@@ -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;

0 comments on commit 81634aa

Please sign in to comment.