quit ApiLocalConnectionHandler after replying API query

This commit is contained in:
Gio 2016-08-03 00:50:49 +02:00
parent 7c2e2bd503
commit e4e29c5adc

View File

@ -52,6 +52,7 @@ void ApiLocalConnectionHandler::handleRequest()
std::string resultString = mApiServer->handleRequest(req);
mLocalSocket->write(resultString.c_str(), resultString.length());
mLocalSocket->write("\n\0");
quit();
}
else
{