mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-19 01:18:17 +02:00
proper shutdown of the ControlSession
This commit is contained in:
parent
9e540c4855
commit
df5f9bdeab
4 changed files with 23 additions and 19 deletions
|
@ -61,8 +61,9 @@ public:
|
|||
private:
|
||||
void startAccept();
|
||||
void handleAccept(socket_ptr socket);
|
||||
void cleanup();
|
||||
// void acceptor();
|
||||
mutable std::mutex mutex_;
|
||||
mutable std::recursive_mutex mutex_;
|
||||
std::set<std::shared_ptr<ControlSession>> sessions_;
|
||||
std::shared_ptr<tcp::acceptor> acceptor_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue