Skip to content

Application.Quit() not work on iOS #35

Description

@niyouwoxi
    protected override void RaiseOnCompletedOnDestroy() {
        if (_cancelPingPong != null) {
            _cancelPingPong.Dispose();
            _cancelPingPong = null;
        }

        if (_onRecv != null) {
            _onRecv.OnCompleted();
            _onRecv = null;
        }

        if (!IsConnected)   // Note : Here should be if(IsConnected)
            WebSocket.Close();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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