Refs #2080. Fixed crash
Refs #2080. Fixed crash

eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-RTPS