From b821287e983fde13d24ffd09b6fd6eafae437c83 Mon Sep 17 00:00:00 2001 From: notify Date: Thu, 20 Apr 2023 15:17:40 +0800 Subject: [PATCH] fix crash when console start --- src/network/client_socket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/client_socket.cpp b/src/network/client_socket.cpp index 6b14a6c9..b5bfcd7b 100644 --- a/src/network/client_socket.cpp +++ b/src/network/client_socket.cpp @@ -10,6 +10,7 @@ ClientSocket::ClientSocket() : socket(new QTcpSocket(this)) { } ClientSocket::ClientSocket(QTcpSocket *socket) { + aes_ready = false; socket->setParent(this); this->socket = socket; timerSignup.setSingleShot(true);