We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b986bd commit 7baeebdCopy full SHA for 7baeebd
1 file changed
rclcpp/src/rclcpp/clock.cpp
@@ -140,6 +140,7 @@ Clock::create_jump_callback(
140
rcl_ret_t ret = rcl_clock_remove_jump_callback(&rcl_clock_, rclcpp::Clock::on_time_jump,
141
handler);
142
delete handler;
143
+ handler = NULL;
144
if (RCL_RET_OK != ret) {
145
RCUTILS_LOG_ERROR("Failed to remove time jump callback");
146
}
0 commit comments