Skip to content

Commit

Permalink
Use print error message to instead of throwing exception at destructor
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Lihui <Lihui.Chen@sony.com>
  • Loading branch information
Chen Lihui authored and Chen Lihui committed Oct 10, 2020
1 parent d671b93 commit 61023d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/test/rclcpp/executors/test_executors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class TestWaitable : public rclcpp::Waitable
{
rcl_ret_t ret = rcl_guard_condition_fini(&gc_);
if (RCL_RET_OK != ret) {
rclcpp::exceptions::throw_from_rcl_error(ret);
fprintf(stderr, "failed to call rcl_guard_condition_fini\n");
}
}

Expand Down

0 comments on commit 61023d1

Please sign in to comment.