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:
committed by
Guido Gunther
parent
1af281d8e2
commit
ceef33c6a0
@@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user