mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +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,
|
||||
NULL,
|
||||
&error);
|
||||
|
||||
g_assert_no_error (error);
|
||||
if (error)
|
||||
{
|
||||
g_assert_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NO_REPLY);
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
if (res)
|
||||
g_variant_unref (res);
|
||||
|
Loading…
Reference in New Issue
Block a user