Fixed command dropping
This commit is contained in:
parent
b7b22dc89e
commit
f596151c42
@ -267,7 +267,7 @@ bool VoiceClientConnection::next_reassembled_command(unique_lock<std::recursive_
|
||||
|
||||
/* handle commands before command low packets */
|
||||
for(auto& buf : this->_command_fragment_buffers) {
|
||||
unique_lock ring_lock(buf.buffer_lock, try_to_lock);
|
||||
unique_lock ring_lock(buf.buffer_lock/*, try_to_lock */); //Perm lock the buffer else, may command wount get handeled. Because we've more left, but say we waven't
|
||||
if(!ring_lock.owns_lock()) continue;
|
||||
|
||||
if(buf.front_set()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user