From: Ray Strode Date: Tue, 21 Oct 2008 16:50:29 +0000 (-0400) Subject: Force disconnected epoll source removal X-Git-Tag: 0.6.0~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be7901218d73c04fbed7fe1e9a2b246a5475f7b;p=thirdparty%2Fplymouth.git Force disconnected epoll source removal Rather than relying on disconnected sources to get automatically removed from epoll, we explicitly remove them on disconnection events. --- diff --git a/src/libply/ply-event-loop.c b/src/libply/ply-event-loop.c index fe7edbcc..5bfd4062 100644 --- a/src/libply/ply-event-loop.c +++ b/src/libply/ply-event-loop.c @@ -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))