mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
more comment correctness for Socket
This commit is contained in:
parent
1f9bb22b9e
commit
a914ec82c3
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ void Socket::rateControlSync() {
|
|||
auto it = _connectionsHash.find(sockAddr);
|
||||
|
||||
if (it != _connectionsHash.end()) {
|
||||
// if the connection is erased while calling sync since we are not holding an iterator that was invalidated
|
||||
// if the connection is erased while calling sync since we are re-using the iterator that was invalidated
|
||||
// we're good to go
|
||||
auto& connection = _connectionsHash[sockAddr];
|
||||
connection->sync();
|
||||
|
|
Loading…
Reference in a new issue