Skip to content

Commit

Permalink
Refs #9030 Fix PubReliableKeepAllSubNonReliable test
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Martin <laura@eprosima.com>
  • Loading branch information
Laura Martin committed Aug 6, 2020
1 parent d8e0f92 commit 598c00b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cpp/rtps/writer/StatefulWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,12 @@ void StatefulWriter::unsent_change_added_to_history(
}

this->mp_periodicHB->restart_timer();
if ( (mp_listener != nullptr) && this->is_acked_by_all(change) )
{
mp_listener->onWriterChangeReceivedByAll(this, change);
}

if (disable_positive_acks_ && last_sequence_number_ == SequenceNumber_t())
{
last_sequence_number_ = change->sequenceNumber;
}
check_acked_status();
}
catch (const RTPSMessageGroup::timeout&)
{
Expand Down

0 comments on commit 598c00b

Please sign in to comment.