libfeedback: Cancel all running feedbacks on uninit

We keep track of the active ids and end them on uninit. This
make sure feedbacks don't continue to run if the application quits
and forgets to end a feedback.
This commit is contained in:
Guido Günther
2020-06-02 16:36:24 +00:00
committed by Guido Gunther
parent ceef33c6a0
commit 49dab605c2
3 changed files with 55 additions and 0 deletions
+2
View File
@@ -12,5 +12,7 @@
G_BEGIN_DECLS
LfbGdbusFeedback *_lfb_get_proxy (void);
void _lfb_active_add_id (guint id);
void _lfb_active_remove_id (guint id);
G_END_DECLS