Fixed disconnect
This commit is contained in:
parent
10163ffe94
commit
09548d6b3b
2 changed files with 10 additions and 6 deletions
|
@ -322,6 +322,11 @@ void Client::close()
|
|||
{
|
||||
LOG_DEBUG("close");
|
||||
|
||||
if (m_connection && m_connection) {
|
||||
LOG_DEBUG("disconnecting");
|
||||
m_connection->disconnect();
|
||||
}
|
||||
|
||||
m_connection.reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue