Skip to content

Commit

Permalink
Fix deadlock in TCP destruction
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <[email protected]>
  • Loading branch information
cferreiragonz committed Nov 8, 2024
1 parent 89f6aa6 commit 02c283e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cpp/rtps/transport/TCPChannelResourceBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ void TCPChannelResourceBasic::disconnect()
{
if (eConnecting < change_status(eConnectionStatus::eDisconnected) && alive())
{
std::lock_guard<std::mutex> read_lock(read_mutex_);
auto socket = socket_;

std::error_code ec;
Expand Down

0 comments on commit 02c283e

Please sign in to comment.