fix restart of hyperion. now devices closed before restart (#269)

This commit is contained in:
redPanther
2016-10-10 23:08:01 +02:00
committed by GitHub
parent e889996ae7
commit 37558a983f
3 changed files with 11 additions and 1 deletions

View File

@@ -903,6 +903,7 @@ void JsonClientConnection::handleConfigCommand(const QJsonObject& message, const
}
else if (subcommand == "reload")
{
_hyperion->freeObjects();
Process::restartHyperion();
sendErrorReply("failed to restart hyperion", full_command, tan);
}