Add a FIXME

Change-Id: I7d54f77c5661b04616c04d1807966b9e1ccea485
This commit is contained in:
Tor Lillqvist 2020-07-08 17:19:02 +03:00
parent 0a2033d688
commit 980b7b04a6

View file

@ -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;