Skip to content

Dead lock issue with DisconnectAsync()Β #24

@agardiol

Description

@agardiol

Hello,

While using this library we have sometimes a dead lock situation while calling Device.DisconnectAsync().
We tried to ignore this by avoiding to await on this function but in this case, the dead lock occurs later while trying to force the Adapter to remove the device from it's internal list (Adapter.RemoveDeviceAsync(Device)).

It seems to be an issue related to bluez since if we kill our software and try to manually remove or disconnect the device with bluetoothctl, we get a "org.bluez.Error.Busy" (in fact each commands return this error).

Did you already see such dead lock behavior ?

Thanks by advance and best regards.
Antoine

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoFurther information is requestedquestionQuestions and Answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions