Skip to content

Commit

Permalink
Refs #12361. Always return true adding a writer
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Aug 12, 2021
1 parent ee88963 commit d87e06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/writer/LivelinessManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bool LivelinessManager::add_writer(
if (!calculate_next())
{
timer_.cancel_timer();
return false;
return true;
}

// Some times the interval could be negative if a writer expired during the call to this function
Expand Down

0 comments on commit d87e06a

Please sign in to comment.