mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
Use unique_lock::unlock() instead of unique_lock::release()
... which actually has the opposite effect
This commit is contained in:
parent
639beee6cb
commit
2d68cfa5e7
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ void Socket::handleRemoteAddressChange(HifiSockAddr previousAddress, HifiSockAdd
|
|||
_connectionsHash.erase(connectionIter);
|
||||
connection->setDestinationAddress(currentAddress);
|
||||
_connectionsHash[currentAddress] = move(connection);
|
||||
connectionsLock.release();
|
||||
connectionsLock.unlock();
|
||||
|
||||
Lock sequenceNumbersLock(_unreliableSequenceNumbersMutex);
|
||||
const auto sequenceNumbersIter = _unreliableSequenceNumbers.find(previousAddress);
|
||||
|
|
Loading…
Reference in a new issue