mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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,10 +402,10 @@ void SendQueue::run() {
|
|||
// skip to the next iteration
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// we got the try_lock but failed the other conditionals so we need to unlock
|
||||
doubleLock.unlock();
|
||||
} else {
|
||||
// we got the try_lock but failed the other conditionals so we need to unlock
|
||||
doubleLock.unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue