Refs #1846. Fixed mutex lock
Refs #1846. Fixed mutex lock

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