Skip to content

Race condition on shutdown of the CosmosWebSocketClient #1

@mikemattball

Description

@mikemattball

There is a race condition with the shutdown of the client. The close method sends the closeBlocking call to the Java layer, which stops the connection. The close method then deletes the client object. There still could be messages being processed by the callbacks, however. Ensure the closeCallback finishes completing before deleting the object to clear out errors that happen most of the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions