Clear list after applying qDeleteAll

This commit is contained in:
LordGrey
2023-12-29 18:08:47 +01:00
parent e71185acd9
commit 40d74faa5e
3 changed files with 3 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ JsonServer::JsonServer(const QJsonDocument& config)
JsonServer::~JsonServer()
{
qDeleteAll(_openConnections);
_openConnections.clear();
}
void JsonServer::initServer()