Skip to content

Commit

Permalink
Fixed m_socket.shutdown() as it was crashing mrv2 when the server was…
Browse files Browse the repository at this point in the history
… disconnected.
  • Loading branch information
ggarra13 committed Apr 25, 2023
1 parent 9ed4a32 commit baaa0b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mrv2/lib/mrvNetwork/mrvTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ namespace mrv
// Check if the socket is initialized and valid
if (m_socket.impl()->initialized())
{
m_socket.shutdown();
m_socket.close();
}
}
Expand Down

0 comments on commit baaa0b2

Please sign in to comment.