mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-14 01:26:42 +02:00
change stream with "SetStream (id)"
This commit is contained in:
parent
0092f79f88
commit
5fae6e85f7
10 changed files with 90 additions and 8 deletions
|
@ -128,7 +128,7 @@ void ControlServer::stop()
|
|||
{
|
||||
acceptor_->cancel();
|
||||
std::unique_lock<std::mutex> mlock(mutex_);
|
||||
for (auto it = sessions_.begin(); it != sessions_.end(); ++it)
|
||||
(*it)->stop();
|
||||
for (auto s: sessions_)
|
||||
s->stop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue