mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-05 03:28:54 +00:00
Don't continue initialization of SecretService if failed
* Don't open session or load collections on SecretService if the first part of the initialization failed
This commit is contained in:
parent
fc0549d2ab
commit
6f4a53f08b
@ -592,10 +592,9 @@ on_init_base (GObject *source,
|
|||||||
g_simple_async_result_take_error (res, error);
|
g_simple_async_result_take_error (res, error);
|
||||||
g_simple_async_result_complete (res);
|
g_simple_async_result_complete (res);
|
||||||
} else {
|
} else {
|
||||||
|
service_ensure_for_flags_async (self, self->pv->init_flags, res);
|
||||||
}
|
}
|
||||||
|
|
||||||
service_ensure_for_flags_async (self, self->pv->init_flags, res);
|
|
||||||
g_object_unref (res);
|
g_object_unref (res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user