mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05:00
quit ApiLocalConnectionHandler after replying API query
This commit is contained in:
parent
7c2e2bd503
commit
e4e29c5adc
@ -52,6 +52,7 @@ void ApiLocalConnectionHandler::handleRequest()
|
|||||||
std::string resultString = mApiServer->handleRequest(req);
|
std::string resultString = mApiServer->handleRequest(req);
|
||||||
mLocalSocket->write(resultString.c_str(), resultString.length());
|
mLocalSocket->write(resultString.c_str(), resultString.length());
|
||||||
mLocalSocket->write("\n\0");
|
mLocalSocket->write("\n\0");
|
||||||
|
quit();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user