busUnwatchName

fnvoid busUnwatchName(uint watcherId)

Stops watching a name.

Note that there may still be D-Bus traffic to process (relating to watching and unwatching the name) in the current thread-default #GMainContext after this function has returned. You should continue to iterate the #GMainContext until the #GDestroyNotify function passed to [gio.global.busWatchName] is called, in order to avoid memory leaks through callbacks queued on the #GMainContext after it’s stopped being iterated.

Parameters

watcherIdAn identifier obtained from [gio.global.busWatchName]