Force disconnected epoll source removal

Rather than relying on disconnected sources to
get automatically removed from epoll, we
explicitly remove them on disconnection events.
This commit is contained in:
Ray Strode 2008-10-21 12:50:29 -04:00
parent 52c0bbc1c5
commit 4be7901218

View file

@ -1224,7 +1224,6 @@ ply_event_loop_process_pending_events (ply_event_loop_t *loop)
if (is_disconnected)
{
source->is_getting_polled = false;
ply_event_loop_disconnect_source (loop, source);
}
else if (ply_event_loop_source_has_met_status (source, status))