mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-07 19:57:43 +02:00
fixed exception during server shutdown
This commit is contained in:
parent
748c4c06b1
commit
7353383313
5 changed files with 15 additions and 6 deletions
|
@ -98,7 +98,8 @@ void PcmStream::stop()
|
|||
if (active_)
|
||||
{
|
||||
active_ = false;
|
||||
readerThread_.join();
|
||||
if (readerThread_.joinable())
|
||||
readerThread_.join();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue