unown_name


Description:


[ Version ( since = "2.26" ) ]
public void unown_name (uint owner_id)

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 [ struct@GLib.MainContext] after this function has returned. You should continue to iterate the [struct@GLib.MainContext] until the [ callback@GLib.DestroyNotify] function passed to [func@Gio.bus_own_name] is called, in order to avoid memory leaks through callbacks queued on the [struct@GLib.MainContext] after it’s stopped being iterated.

Parameters:

owner_id

an identifier obtained from [func@Gio.bus_own_name]


Namespace: GLib.Bus
Package: gio-2.0