The problem:
CEPoll::release removes the EID from polls, but that same EID might exist in the subscription containers in sockets or groups. This is not checked. It's not dangerous, as the invalid EID will be quickly detected, but this is data inconsistency.
This function, when released, should look over all subscription entries, find all sockets that are subscribed in this EID and forcefully remove this subscription, only then the EID can be deleted.