Skip to content

[21959] Check if SHM transport is disabled in LARGE_DATA modes #5355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/cpp/rtps/attributes/RTPSParticipantAttributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ static void setup_transports_large_data(
{
if (!intraprocess_only)
{
auto shm_transport = create_shm_transport(att, options);
att.userTransports.push_back(shm_transport);
setup_transports_shm(att, options);

auto shm_loc = fastdds::rtps::SHMLocator::create_locator(0, fastdds::rtps::SHMLocator::Type::UNICAST);
att.defaultUnicastLocatorList.push_back(shm_loc);
Expand Down Expand Up @@ -261,8 +260,7 @@ static void setup_transports_large_datav6(
{
if (!intraprocess_only)
{
auto shm_transport = create_shm_transport(att, options);
att.userTransports.push_back(shm_transport);
setup_transports_shm(att, options);

auto shm_loc = fastdds::rtps::SHMLocator::create_locator(0, fastdds::rtps::SHMLocator::Type::UNICAST);
att.defaultUnicastLocatorList.push_back(shm_loc);
Expand Down
Loading