MCPcopy Create free account
hub / github.com/amule-project/amule / ~CClientTCPSocket

Method ~CClientTCPSocket

src/ClientTCPSocket.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82CClientTCPSocket::~CClientTCPSocket()
83{
84 if (m_client) {
85 m_client->SetSocket( NULL );
86 }
87 m_client = NULL;
88
89 if (theApp->listensocket && !theApp->listensocket->OnShutdown()) {
90 theApp->listensocket->RemoveSocket(this);
91 }
92}
93
94bool CClientTCPSocket::InitNetworkData()
95{

Callers

nothing calls this directly

Calls 3

SetSocketMethod · 0.80
OnShutdownMethod · 0.45
RemoveSocketMethod · 0.45

Tested by

no test coverage detected