bluez5: midi-node: implement server role

This commit is contained in:
Pauli Virtanen 2022-11-05 22:25:40 +02:00 committed by Wim Taymans
parent d30a0c5ee6
commit 2ef126885a
4 changed files with 208 additions and 38 deletions

View file

@ -424,11 +424,7 @@ static void adapter_remove(struct spa_dbus_object *object)
{
struct adapter *adapter = SPA_CONTAINER_OF(object, struct adapter, object);
if (adapter->register_call) {
dbus_pending_call_cancel(adapter->register_call);
dbus_pending_call_unref(adapter->register_call);
adapter->register_call = NULL;
}
spa_dbus_async_call_cancel(&adapter->register_call);
}
static void bluez_remove(struct spa_dbus_object *object)