mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
bluetooth: Remove all devices and adapters when org.bluez goes away
This commit is contained in:
parent
9be71b5838
commit
c3efb24aa7
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
|||
if (pa_streq(name, BLUEZ_SERVICE)) {
|
||||
if (old_owner && *old_owner) {
|
||||
pa_log_debug("Bluetooth daemon disappeared");
|
||||
/* TODO: remove all devices */
|
||||
device_remove_all(y);
|
||||
adapter_remove_all(y);
|
||||
}
|
||||
|
||||
if (new_owner && *new_owner) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue