mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 02:11:47 +02:00
fixed deadlock
This commit is contained in:
parent
d0c88e2ce0
commit
280cd10231
2 changed files with 18 additions and 11 deletions
|
@ -89,7 +89,7 @@ protected:
|
|||
void reader();
|
||||
void writer();
|
||||
|
||||
mutable std::recursive_mutex mutex_;
|
||||
mutable std::mutex mutex_;
|
||||
std::atomic<bool> active_;
|
||||
|
||||
std::unique_ptr<std::thread> readerThread_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue