mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 00:48:01 +02:00
reserve-device: release reservation when release signal is triggered
This commit is contained in:
parent
5323ee14a5
commit
522c9ea956
1 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,9 @@ on_reservation_release (WpDbusDeviceReservation *reservation, gboolean forced,
|
|||
g_autoptr (WpCore) core = NULL;
|
||||
g_autoptr (WpSpaPod) profile = NULL;
|
||||
|
||||
/* Release reservation */
|
||||
wp_dbus_device_reservation_release (reservation);
|
||||
|
||||
/* Get the device and core */
|
||||
device = g_weak_ref_get (&self->device);
|
||||
if (!device)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue