Skip to content

Commit

Permalink
#476: serial msg: fix bug sending the wrong message
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander authored and Jakub Strzebonski committed May 26, 2022
1 parent a6c0001 commit 8a77e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vt/serialization/messaging/serialized_messenger.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ template <typename MsgT, typename BaseT>
"serialMsgHandler: local msg: handler={}\n", typed_handler
);

auto base_msg = msg.template to<BaseMsgType>();
auto base_msg = user_msg.template to<BaseMsgType>();
return messaging::PendingSend(base_msg, [=](MsgPtr<BaseMsgType> in) {
runnable::makeRunnable(msg, true, typed_handler, node)
runnable::makeRunnable(user_msg, true, typed_handler, node)
.withTDEpochFromMsg()
.enqueue();
});
Expand Down

0 comments on commit 8a77e78

Please sign in to comment.