diff --git a/libresapi/src/api/ApiServerLocal.cpp b/libresapi/src/api/ApiServerLocal.cpp index e1d5e2623..c130ca5e1 100644 --- a/libresapi/src/api/ApiServerLocal.cpp +++ b/libresapi/src/api/ApiServerLocal.cpp @@ -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 {