Skip to content

WebSocketServer freezes in stop() method #259

@vcucek

Description

@vcucek

Hello,

first I would like to thank you for creating a great and useful library.

I'am using it in Android application to communicate with website.
When I try to stop the server, the application sometimes stops responding.
The main thread is indefinitely waiting in "WebSocketServer.stop()" method in "selectorThread.join()" line, because the "selectorThread" never ends. This happens because "selectorThread" is waiting in "run()" method in "selector.select()" line.

Do you know what could be the cause of this behavior?

Thank you all in advance for any help you can provide.

Regards,
Vito

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions