Skip to content

Commit

Permalink
readd the old lock_guard
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Mar 19, 2024
1 parent 22f092f commit 2399b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware_interface/src/resource_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ void ResourceManager::load_urdf(
}
if (individual_hardware_info.type == sensor_type)
{
std::scoped_lock guard(resource_interfaces_lock_);
std::lock_guard<std::recursive_mutex> guard(resource_interfaces_lock_);
resource_storage_->load_and_initialize_sensor(individual_hardware_info);
}
if (individual_hardware_info.type == system_type)
Expand Down

0 comments on commit 2399b41

Please sign in to comment.