mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 17:08:01 +02:00
m-device-activation: remove assertion in dbus device reservation API when failing to own bus
This commit is contained in:
parent
522c9ea956
commit
05401c772f
1 changed files with 1 additions and 2 deletions
|
|
@ -373,8 +373,7 @@ wp_dbus_device_reservation_acquire (WpDbusDeviceReservation *self,
|
|||
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT : G_BUS_NAME_OWNER_FLAGS_NONE,
|
||||
on_bus_acquired, on_name_acquired, on_name_lost, g_object_ref (self),
|
||||
on_unowned);
|
||||
g_return_val_if_fail (self->owner_id > 0, FALSE);
|
||||
return TRUE;
|
||||
return self->owner_id > 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue