Commit 659ba3d0 authored by David Zeuthen's avatar David Zeuthen
Browse files

GDBusConnection: Only apply exit-on-closed semantics if properly initialized

Otherwise there is no point in gracefully handling the error...

Signed-off-by: default avatarDavid Zeuthen <>
parent fcc415b1
......@@ -638,7 +638,7 @@ g_dbus_connection_real_closed (GDBusConnection *connection,
gboolean remote_peer_vanished,
GError *error)
if (remote_peer_vanished && connection->exit_on_close)
if (remote_peer_vanished && connection->exit_on_close && connection->is_initialized)
if (error != NULL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment