mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Bug 637561 - Crash when using G_DBUS_SERVER_FLAGS_RUN_IN_THREAD
https://bugzilla.gnome.org/show_bug.cgi?id=637561 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
c2387ddff1
commit
2553511f4e
@ -979,11 +979,16 @@ on_run (GSocketService *service,
|
||||
|
||||
if (server->flags & G_DBUS_SERVER_FLAGS_RUN_IN_THREAD)
|
||||
{
|
||||
gboolean claimed;
|
||||
|
||||
claimed = FALSE;
|
||||
g_signal_emit (server,
|
||||
_signals[NEW_CONNECTION_SIGNAL],
|
||||
0,
|
||||
connection);
|
||||
g_dbus_connection_start_message_processing (connection);
|
||||
connection,
|
||||
&claimed);
|
||||
if (claimed)
|
||||
g_dbus_connection_start_message_processing (connection);
|
||||
g_object_unref (connection);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user