mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-31 07:09:44 +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
|
@ -76,8 +76,8 @@ protected:
|
|||
void writer();
|
||||
|
||||
std::atomic<bool> active_;
|
||||
mutable std::mutex activeMutex_;
|
||||
mutable std::mutex socketMutex_;
|
||||
mutable std::recursive_mutex activeMutex_;
|
||||
mutable std::recursive_mutex socketMutex_;
|
||||
std::thread* readerThread_;
|
||||
std::thread* writerThread_;
|
||||
std::shared_ptr<tcp::socket> socket_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue