Add a FIXME
Change-Id: I7d54f77c5661b04616c04d1807966b9e1ccea485
This commit is contained in:
parent
0a2033d688
commit
980b7b04a6
1 changed files with 5 additions and 0 deletions
|
@ -288,6 +288,11 @@ int SocketPoll::poll(int64_t timeoutMaxMicroS)
|
|||
}
|
||||
|
||||
// This should only happen when we're stopping.
|
||||
|
||||
// FIXME: A few dozen lines above we have potentially inserted new elements in _pollSockets, so
|
||||
// clearly its size can now be larger than what it was when we came to this function, which got
|
||||
// saved in the size variable.
|
||||
|
||||
if (_pollSockets.size() != size)
|
||||
return rc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue