diff --git a/libshviotqt/src/rpc/clientconnection.cpp b/libshviotqt/src/rpc/clientconnection.cpp index b109bfd15..2e5ce8a1c 100644 --- a/libshviotqt/src/rpc/clientconnection.cpp +++ b/libshviotqt/src/rpc/clientconnection.cpp @@ -253,6 +253,8 @@ void ClientConnection::closeOrAbort(bool is_abort) shvInfo() << "close connection, abort:" << is_abort; m_checkBrokerConnectedTimer->stop(); if(m_socket) { + m_socket->resetCommunication(); + if(is_abort) abortSocket(); else