From b055c443ab1089e752ff2ddb1562cca08b4f0cb1 Mon Sep 17 00:00:00 2001 From: Brian Wilcox Date: Fri, 1 Mar 2024 20:02:19 -0600 Subject: [PATCH] remove clear request callback in service destructor remove clear_on_new_request_callback from service destructor --- rclcpp/src/rclcpp/service.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/rclcpp/src/rclcpp/service.cpp b/rclcpp/src/rclcpp/service.cpp index b625c03a75..6b2718fcaf 100644 --- a/rclcpp/src/rclcpp/service.cpp +++ b/rclcpp/src/rclcpp/service.cpp @@ -37,8 +37,6 @@ ServiceBase::ServiceBase( ServiceBase::~ServiceBase() { - clear_on_new_request_callback(); - std::lock_guard lock(ipc_mutex_); if (!use_intra_process_) { return;