[pulseaudio-discuss] [PATCH v4 05/41] bluetooth: Remove all devices when org.bluez goes away
João Paulo Rechi Vita
jprvita at gmail.com
Sat Sep 21 11:46:00 PDT 2013
On Fri, Sep 20, 2013 at 6:51 AM, Tanu Kaskinen
<tanu.kaskinen at linux.intel.com> wrote:
> On Wed, 2013-09-18 at 16:16 -0500, jprvita at gmail.com wrote:
>> From: João Paulo Rechi Vita <jprvita at openbossa.org>
>>
>> ---
>> src/modules/bluetooth/bluez5-util.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c
>> index d65cbb0..c78ec9e 100644
>> --- a/src/modules/bluetooth/bluez5-util.c
>> +++ b/src/modules/bluetooth/bluez5-util.c
>> @@ -189,7 +189,7 @@ 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);
>
> Adapters should be removed too.
>
Yes, the adapter objects idea came in the middle of some rebases and
I've ended up missing some cleaning up. This change makes successive
commits not applying cleanly, so I'll have to send a v5.
--
João Paulo Rechi Vita
http://about.me/jprvita
More information about the pulseaudio-discuss
mailing list