diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2022-02-11 11:36:28 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2022-02-14 14:42:17 +0000 |
commit | 1b3e6bab533537eb7129986f72788ac11b23ae0b (patch) | |
tree | 60999ec691a4a33009de74b172677c0eacd41d5a /docs/reference/gio | |
parent | 6d5953ee4835464a37cb7488543b9535edb6122e (diff) | |
download | glib-1b3e6bab533537eb7129986f72788ac11b23ae0b.tar.gz |
gdebugcontrollerdbus: Add stop() method
This allows the controller to explicitly be removed from the bus, in a
way that allows the caller to synchronise with it and know that all
other references to the controller should have been dropped (i.e. after
this method returns, there should be no in-flight D-Bus calls still
holding a reference to the object).
This is needed to be able to guarantee finalisation of the controller in
unit tests (and comparable real-world situations).
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #1190
Diffstat (limited to 'docs/reference/gio')
-rw-r--r-- | docs/reference/gio/gio-sections-common.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/gio/gio-sections-common.txt b/docs/reference/gio/gio-sections-common.txt index 0c73afa6f..4e88a597e 100644 --- a/docs/reference/gio/gio-sections-common.txt +++ b/docs/reference/gio/gio-sections-common.txt @@ -4230,6 +4230,7 @@ G_DEBUG_CONTROLLER_GET_INTERFACE <TITLE>GDebugControllerDBus</TITLE> GDebugControllerDBus g_debug_controller_dbus_new +g_debug_controller_dbus_stop <SUBSECTION Standard> g_debug_controller_dbus_get_type G_TYPE_DEBUG_CONTROLLER_DBUS |