Skip to content

Commit

Permalink
Update cpp/mrc/include/mrc/node/rx_node.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com>
  • Loading branch information
dagardner-nv and mdemoret-nv authored May 9, 2023
1 parent 892fdf8 commit c13d2ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/mrc/include/mrc/node/rx_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,11 @@ class RxNodeComponent : public WritableProvider<InputT>, public WritableAcceptor
this->get_writable_edge()->await_write(std::move(message));
},
[this](std::exception_ptr ptr) {
runnable::Context::get_runtime_context().set_exception(std::move(ptr));
},
[this]() {
// On completion, release connections
WritableAcceptor<OutputT>::release_edge_connection();
runnable::Context::get_runtime_context().set_exception(std::move(ptr));
}));
}

Expand Down

0 comments on commit c13d2ba

Please sign in to comment.