File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,17 @@ bool StatelessWriter::matched_reader_add_edp(
563
563
<< " as remote reader" );
564
564
}
565
565
566
+ // Create sender resources for the case when we send to a single reader
567
+ locator_selector_.locator_selector .reset (false );
568
+ locator_selector_.locator_selector .enable (data.guid ());
569
+ mp_RTPSParticipant->network_factory ().select_locators (locator_selector_.locator_selector );
570
+ RTPSParticipantImpl* part = mp_RTPSParticipant;
571
+ locator_selector_.locator_selector .for_each ([part](const Locator_t& loc)
572
+ {
573
+ part->createSenderResources (loc);
574
+ });
575
+
576
+ // Create sender resources for the case when we send to all readers
566
577
update_reader_info (true );
567
578
568
579
if (nullptr != listener_)
You can’t perform that action at this time.
0 commit comments