mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Networking): Fix crash in Proxy Protocol when removing closed sockets. (#19011)
This commit is contained in:
committed by
GitHub
parent
03879617d8
commit
c77f9b0fa3
@@ -173,8 +173,8 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
for (int removeIndex : newSocketsToRemoveIndexes)
|
||||
_newSockets.erase(_newSockets.begin() + removeIndex);
|
||||
for (auto it = newSocketsToRemoveIndexes.rbegin(); it != newSocketsToRemoveIndexes.rend(); ++it)
|
||||
_newSockets.erase(_newSockets.begin() + *it);
|
||||
}
|
||||
|
||||
void Run()
|
||||
|
||||
Reference in New Issue
Block a user