mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 08:06:41 +02:00
clean server shutdown
This commit is contained in:
parent
83d7ca8856
commit
16f81e9c8e
4 changed files with 43 additions and 33 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue