Skip to content

Commit

Permalink
Merge pull request #489 from PetrZidek/reset-communication-on-socket-…
Browse files Browse the repository at this point in the history
…close

Reset communication on socket close
  • Loading branch information
fvacek authored Sep 2, 2024
2 parents f8f697f + 7e6a23a commit e427a1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libshviotqt/src/rpc/clientconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e427a1d

Please sign in to comment.