MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Disconnect

Method Disconnect

src/torcontrol.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void TorControlConnection::Disconnect()
113{
114 m_sock.reset();
115 m_recv_buffer.clear();
116 m_message.Clear();
117 m_reply_handlers.clear();
118}
119
120bool TorControlConnection::IsConnected() const
121{

Callers 1

disconnected_cbMethod · 0.45

Calls 3

resetMethod · 0.45
clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected