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;
|
return;
|
||||||
|
|
||||||
qDeleteAll(_openConnections);
|
qDeleteAll(_openConnections);
|
||||||
|
_openConnections.clear();
|
||||||
|
|
||||||
_server->close();
|
_server->close();
|
||||||
|
|
||||||
|
@@ -5,6 +5,7 @@ using namespace commandline;
|
|||||||
Parser::~Parser()
|
Parser::~Parser()
|
||||||
{
|
{
|
||||||
qDeleteAll(_options);
|
qDeleteAll(_options);
|
||||||
|
_options.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Parser::parse(const QStringList &arguments)
|
bool Parser::parse(const QStringList &arguments)
|
||||||
|
@@ -35,6 +35,7 @@ JsonServer::JsonServer(const QJsonDocument& config)
|
|||||||
JsonServer::~JsonServer()
|
JsonServer::~JsonServer()
|
||||||
{
|
{
|
||||||
qDeleteAll(_openConnections);
|
qDeleteAll(_openConnections);
|
||||||
|
_openConnections.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonServer::initServer()
|
void JsonServer::initServer()
|
||||||
|
Reference in New Issue
Block a user