net: Bring back log message when resetting socket

Useful in case new disconnects creep in which are not using DisconnectMsg().
This commit is contained in:
Hodlinator committed 2025-01-10 11:25:08 +01:00
1 parent 04b848e482
commit bbac17608d
1 file changed
+1
+1
View File
@@ -558,6 +558,7 @@ void CNode::CloseSocketDisconnect()
fDisconnect = true;
LOCK(m_sock_mutex);
if (m_sock) {
LogDebug(BCLog::NET, "Resetting socket for peer=%d%s", GetId(), LogIP(fLogIPs));
m_sock.reset();
}
m_i2p_sam_session.reset();