Skip to content

Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72

There’s (deliberately) a bit of race in implementing/handling CloseBeforeReturning() in gdbus-method-invocation.c. If the server closes the D-Bus connection early, the client may exit with SIGTERM if GDBusConnection:exit-on-close is set. We don’t want that, as the test is trying to check that the default handling of a D-Bus method return after a connection has closed works.

See https://gnome.pages.gitlab.gnome.org/-/glib/-/jobs/1935191/artifacts/_build/meson-logs/testlog.txt

Signed-off-by: Philip Withnall pwithnall@endlessos.org


Trivial backport of !2589 (merged) to glib-2-72.

Merge request reports