mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: more cleanup on impl_clear
Remove dbus filters and close the dbus connection. Closing the connection lets BlueZ to clean up, so we don't call its unregistration API.
This commit is contained in:
parent
1c550d850b
commit
87e06783d1
4 changed files with 37 additions and 2 deletions
|
|
@ -1629,6 +1629,8 @@ static int backend_native_free(void *data)
|
|||
|
||||
sco_close(backend);
|
||||
|
||||
backend_native_unregister_profiles(backend);
|
||||
|
||||
#ifdef HAVE_BLUEZ_5_BACKEND_HSP_NATIVE
|
||||
dbus_connection_unregister_object_path(backend->conn, PROFILE_HSP_AG);
|
||||
dbus_connection_unregister_object_path(backend->conn, PROFILE_HSP_HS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue