Skip to content

Commit

Permalink
Do not lock mutex before notifying
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard committed Nov 27, 2024
1 parent f5069da commit bea6106
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ bool TimeControllerClock::sleep_until(rclcpp::Time until)

void TimeControllerClock::wakeup()
{
std::lock_guard<std::mutex> lock(impl_->state_mutex);
impl_->cv.notify_all();
}

Expand Down

0 comments on commit bea6106

Please sign in to comment.