From 78cdadc26003aebe805eeb4d3e94d6d5f20bd84c Mon Sep 17 00:00:00 2001 From: nerdopolis Date: Sun, 3 Dec 2023 21:14:35 -0500 Subject: [PATCH] ply-throbber: fully stop the throbber ply_throbber_start () is called after the throbber is stopped with an end animation --- src/libply-splash-graphics/ply-throbber.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;