Skip to content

awaitClose{} not triggering issue when stopAdvertise() is called? #162

@shiyu-sz

Description

@shiyu-sz

I implemented the ble peripheral device function according to the method in ServerViewModel.kt, but I found that it can broadcast after calling advertise(), but calling stopAdvertise() cannot stop broadcasting. I thought it was a problem with my code, and then I ran the "Blinky Server" application, and I found that this application could not stop broadcasting either. After debugging, I found that awaitClose was not called.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions