Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Invalid State: Cannot call send: until connection is open -- > Solution #98

Closed
@ljs19923

Description

@ljs19923

I added this condition in ClientPrivate.swift so that no SRWebSocket error occurred if the connection is not yet open when I try to unsubscribe.

What do you think ? Before that I had a crash if I tried to unsubscribe after subscribe and a slow connection.

What do you think about that ?

That's works for me

image

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