]> git.ipfire.org Git - pakfire.git/commit
progressbar: Drop timer in favour of a render thread
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Sep 2022 15:53:39 +0000 (15:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Sep 2022 15:53:39 +0000 (15:53 +0000)
commita4a374d67553a0851d6ea5daf04225e0136acc90
treece6decfed979723cf8dc1efbe243d5dd9170f866
parentb203404833921809a68ba8406ba3a2e53e839bf6
progressbar: Drop timer in favour of a render thread

The timer might fire after the progressbar has been destroyed resulting
in random SEGV.

We are now launching one(!) thread which will perform the entire
rendering and run for as long as the progressbar is in running mode.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/progressbar.c