Function gio::bus_unown_name [−][src]
pub fn bus_unown_name(owner_id: OwnerId)
Expand description
Stops owning a name.
Note that there may still be D-Bus traffic to process (relating to owning
and unowning the name) in the current thread-default glib::MainContext
after
this function has returned. You should continue to iterate the glib::MainContext
until the GDestroyNotify
function passed to g_bus_own_name()
is called, in
order to avoid memory leaks through callbacks queued on the glib::MainContext
after it’s stopped being iterated.
owner_id
an identifier obtained from g_bus_own_name()