mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-21 13:06:15 +02:00
Fix crash during shutdown
In case there are multiple PosixStreams with the same name, the server crashed during shutdown
This commit is contained in:
parent
e12fa3fc7d
commit
062e46060c
4 changed files with 9 additions and 7 deletions
|
@ -51,7 +51,7 @@ using session_ptr = std::shared_ptr<StreamSession>;
|
|||
* Receives (via the MessageReceiver interface) and answers messages from the clients
|
||||
* Forwards PCM data to the clients
|
||||
*/
|
||||
class StreamServer : public MessageReceiver, ControlMessageReceiver, PcmListener
|
||||
class StreamServer : public MessageReceiver, public ControlMessageReceiver, public PcmListener
|
||||
{
|
||||
public:
|
||||
StreamServer(boost::asio::io_context& io_context, const ServerSettings& serverSettings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue