clean server shutdown

This commit is contained in:
badaix 2015-08-03 19:00:27 +02:00
parent 83d7ca8856
commit 16f81e9c8e
4 changed files with 43 additions and 33 deletions

View file

@ -126,6 +126,10 @@ int main(int argc, char* argv[])
while (!g_terminated)
usleep(100*1000);
logO << "Stopping controlServer" << endl;
controlServer->stop();
logO << "done" << endl;
}
catch (const std::exception& e)
{