libfeedback: Unset _initted early

This make sure a client does not end up in our shutdown phase and sees a
half initted library.
This commit is contained in:
Guido Günther
2020-06-02 16:36:24 +00:00
committed by Guido Gunther
parent 1af281d8e2
commit ceef33c6a0
+2 -1
View File
@@ -88,9 +88,10 @@ lfb_init (const gchar *app_id, GError **error)
void void
lfb_uninit (void) lfb_uninit (void)
{ {
_initted = FALSE;
g_clear_pointer (&_app_id, g_free); g_clear_pointer (&_app_id, g_free);
g_clear_object (&_proxy); g_clear_object (&_proxy);
_initted = FALSE;
} }
/** /**