MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / close

Method close

Src/Channel/ICE/ChannelIce.cpp:278–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void CChannelIce::close()
279{
280 qDebug(m_Log) << "CChannelIce::Close()";
281
282 m_pSignal->disconnect(this);
283
284 if(m_dataChannel)
285 {
286 m_dataChannel->close();
287 m_dataChannel.reset();
288 }
289 if(m_peerConnection)
290 {
291 m_peerConnection->close();
292 m_peerConnection.reset();
293 }
294
295 CChannel::close();
296 return;
297}
298
299#define DEFAULT_MAX_MESSAGE_SIZE 0x7FFF
300qint64 CChannelIce::writeData(const char *data, qint64 len)

Callers 1

CloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected