Skip to content

Commit

Permalink
Update ros2_foxglove_bridge/src/ros2_foxglove_bridge.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Hans-Joachim Krauch <achim-k@users.noreply.github.com>
  • Loading branch information
facontidavide and achim-k authored Jul 28, 2024
1 parent 345ffa2 commit 0611fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_foxglove_bridge/src/ros2_foxglove_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ void FoxgloveBridge::clientMessage(const foxglove::ClientMessage& message, Conne
// get the specific parser for this schemaName
std::shared_ptr<RosMsgParser::Parser> parser;
{
std::lock_guard<std::mutex> lock(_subscriptionsMutex);
std::lock_guard<std::mutex> lock(_clientAdvertisementsMutex);
auto parserIt = _jsonParsers.find(message.advertisement.topic);
if (parserIt != _jsonParsers.end()) {
parser = parserIt->second;
Expand Down

0 comments on commit 0611fb8

Please sign in to comment.