mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-22 07:02:24 +02:00
don't unlock double lock outside conditional
This commit is contained in:
parent
54cd430be9
commit
9575b47e4e
1 changed files with 4 additions and 4 deletions
|
@ -402,13 +402,13 @@ void SendQueue::run() {
|
|||
// skip to the next iteration
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
// we got the try_lock but failed the other conditionals so we need to unlock
|
||||
doubleLock.unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto loopEndTimestamp = high_resolution_clock::now();
|
||||
|
||||
|
|
Loading…
Reference in a new issue