From: nerdopolis Date: Mon, 4 Dec 2023 02:14:35 +0000 (-0500) Subject: ply-throbber: fully stop the throbber ply_throbber_start () is called after the throb... X-Git-Tag: 23.51.283~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78cdadc26003aebe805eeb4d3e94d6d5f20bd84c;p=thirdparty%2Fplymouth.git ply-throbber: fully stop the throbber ply_throbber_start () is called after the throbber is stopped with an end animation --- diff --git a/src/libply-splash-graphics/ply-throbber.c b/src/libply-splash-graphics/ply-throbber.c index ddd26aae..fb930894 100644 --- a/src/libply-splash-graphics/ply-throbber.c +++ b/src/libply-splash-graphics/ply-throbber.c @@ -305,7 +305,9 @@ ply_throbber_start (ply_throbber_t *throbber, long y) { assert (throbber != NULL); - assert (throbber->loop == NULL); + + if (!throbber->is_stopped) + ply_throbber_stop_now (throbber, false); throbber->loop = loop; throbber->display = display;