mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Clear list after applying qDeleteAll
This commit is contained in:
@@ -63,6 +63,7 @@ void BoblightServer::stop()
|
||||
return;
|
||||
|
||||
qDeleteAll(_openConnections);
|
||||
_openConnections.clear();
|
||||
|
||||
_server->close();
|
||||
|
||||
|
@@ -5,6 +5,7 @@ using namespace commandline;
|
||||
Parser::~Parser()
|
||||
{
|
||||
qDeleteAll(_options);
|
||||
_options.clear();
|
||||
}
|
||||
|
||||
bool Parser::parse(const QStringList &arguments)
|
||||
|
@@ -35,6 +35,7 @@ JsonServer::JsonServer(const QJsonDocument& config)
|
||||
JsonServer::~JsonServer()
|
||||
{
|
||||
qDeleteAll(_openConnections);
|
||||
_openConnections.clear();
|
||||
}
|
||||
|
||||
void JsonServer::initServer()
|
||||
|
Reference in New Issue
Block a user