]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
ply-throbber: fully stop the throbber ply_throbber_start () is called after the throb...
authornerdopolis <bluescreen_avenger@verizon.net>
Mon, 4 Dec 2023 02:14:35 +0000 (21:14 -0500)
committerRay Strode <halfline@gmail.com>
Mon, 4 Dec 2023 02:59:53 +0000 (02:59 +0000)
src/libply-splash-graphics/ply-throbber.c

index ddd26aaefeed88e4509b8795d9b13a74ca40f744..fb930894d843dda7ebdb0fea1988354922deebcc 100644 (file)
@@ -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;