mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-13 14:05:05 +01:00
Accept no-reply errors
This can happen if the app quits before the dbus reply can be sent out.
This commit is contained in:
parent
330cdfbdf1
commit
19012ada57
@ -309,8 +309,11 @@ call_quit (gpointer data)
|
|||||||
-1,
|
-1,
|
||||||
NULL,
|
NULL,
|
||||||
&error);
|
&error);
|
||||||
|
if (error)
|
||||||
g_assert_no_error (error);
|
{
|
||||||
|
g_assert_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NO_REPLY);
|
||||||
|
g_error_free (error);
|
||||||
|
}
|
||||||
|
|
||||||
if (res)
|
if (res)
|
||||||
g_variant_unref (res);
|
g_variant_unref (res);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user