Skip to content

Closing client socket with auto reconnect enabled #33

@enbyted

Description

@enbyted

When closing client socket with 'reconnect' enabled using socket.end() scheduled reconnect function will crash the application (~line 322 in nssocket.js, when removing listeners from socket).
If I try socket.destroy() reconnect function would recreate the internal socket and connect to server, but it shouldn't, application requested closing of socket.

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