Remove finalization of guard_condition from GraphListener::__shutdown() (#1401)
Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
cf1be86f5c
commit
f71d3bfda2
1 changed files with 0 additions and 11 deletions
|
@ -371,17 +371,6 @@ GraphListener::__shutdown(bool should_throw)
|
||||||
} else {
|
} else {
|
||||||
parent_context_ptr->release_interrupt_guard_condition(&wait_set_, std::nothrow);
|
parent_context_ptr->release_interrupt_guard_condition(&wait_set_, std::nothrow);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
ret = rcl_guard_condition_fini(shutdown_guard_condition_);
|
|
||||||
if (RCL_RET_OK != ret) {
|
|
||||||
if (should_throw) {
|
|
||||||
throw_from_rcl_error(ret, "failed to finalize shutdown guard condition");
|
|
||||||
} else {
|
|
||||||
RCLCPP_ERROR(
|
|
||||||
rclcpp::get_logger("rclcpp"),
|
|
||||||
"failed to finalize shutdown guard condition");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
shutdown_guard_condition_ = nullptr;
|
shutdown_guard_condition_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue