Skip to content

Commit 9429585

Browse files
committed
fix a missed conflict from merging
1 parent ba7f439 commit 9429585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

irobot_events_executor/src/rclcpp/timers_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void TimersManager::add_timer(rclcpp::TimerBase::SharedPtr timer)
4343

4444
timer->set_on_reset_callback([this](){
4545
{
46-
std::unique_lock<std::mutex> lock(timers_mutex_);
46+
rclcpp::Lock lock(timers_mutex_);
4747
timers_updated_ = true;
4848
}
4949
timers_cv_.notify_one();

0 commit comments

Comments
 (0)