mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 08:36:43 +02:00
fixed segfault
This commit is contained in:
parent
cc057eef29
commit
46bd85e4e5
1 changed files with 2 additions and 1 deletions
|
@ -125,6 +125,7 @@ void ControlServer::start()
|
|||
|
||||
void ControlServer::stop()
|
||||
{
|
||||
if (acceptor_)
|
||||
acceptor_->cancel();
|
||||
std::unique_lock<std::mutex> mlock(mutex_);
|
||||
for (auto s: sessions_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue