From: Ray Strode Date: Mon, 19 May 2008 21:08:23 +0000 (-0400) Subject: When removing exit handlers, remove all matches, not just the first X-Git-Tag: 0.1.0~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa33619b36e80b609dd7fbd9e25917da8f8be2a2;p=thirdparty%2Fplymouth.git When removing exit handlers, remove all matches, not just the first --- diff --git a/src/libply/ply-event-loop.c b/src/libply/ply-event-loop.c index d8118b63..f509abcd 100644 --- a/src/libply/ply-event-loop.c +++ b/src/libply/ply-event-loop.c @@ -852,7 +852,6 @@ ply_event_loop_stop_watching_for_exit (ply_event_loop_t *loop, closure->user_data == user_data) { ply_list_remove_node (loop->exit_closures, node); free (closure); - break; } node = next_node;