Commit 522c9ea9 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

reserve-device: release reservation when release signal is triggered

parent 5323ee14
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment