Gio.bus_unown_name

function bus_unown_name(owner_id: Number(guint)): void {
    // Gjs wrapper for g_bus_unown_name()
}
  

Stops owning a name.

Since 2.26

owner_id

an identifier obtained from Gio.bus_own_name