Skip to content

Commit

Permalink
Refs #20629: Protect pdp_to_send
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <[email protected]>
  • Loading branch information
cferreiragonz committed May 13, 2024
1 parent 5c127aa commit a9dfd62
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,7 @@ bool DiscoveryDataBase::add_pdp_to_send_(
eprosima::fastrtps::rtps::CacheChange_t* change)
{
// Add DATA(p) to send in next iteration if it is not already there
std::lock_guard<std::recursive_mutex> guard(mutex_);
if (std::find(
pdp_to_send_.begin(),
pdp_to_send_.end(),
Expand Down

0 comments on commit a9dfd62

Please sign in to comment.