Skip to content

Commit ef1ee1b

Browse files
committed
Refs #23798. Send heartbeat when wait_for_all_acked is called.
Signed-off-by: Miguel Company <[email protected]>
1 parent c2ab440 commit ef1ee1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cpp/rtps/writer/StatefulWriter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,8 @@ bool StatefulWriter::all_readers_updated()
13871387
bool StatefulWriter::wait_for_all_acked(
13881388
const dds::Duration_t& max_wait)
13891389
{
1390+
send_periodic_heartbeat();
1391+
13901392
std::unique_lock<RecursiveTimedMutex> lock(mp_mutex);
13911393
std::unique_lock<std::mutex> all_acked_lock(all_acked_mutex_);
13921394

0 commit comments

Comments
 (0)