Run disconnection routine when client is being destroyed

This commit is contained in:
Salanto 2022-06-15 13:34:55 +02:00 committed by Rosemary Witchaven
parent 5cea6674c9
commit 5e6bc5c87b

View File

@ -528,5 +528,6 @@ AOClient::AOClient(Server *p_server, NetworkSocket *socket, QObject *parent, int
AOClient::~AOClient() AOClient::~AOClient()
{ {
clientDisconnected();
m_socket->deleteLater(); m_socket->deleteLater();
} }