Skip to content

Unable to close ws connection #4

@plq

Description

@plq

Even after calling pause(), netstat shows that node has a connection open. Also, node process doesn't exit.

Context: https://github.com/plq/seker/blob/ef15ce43028b8fe6372d2460da6710b434b5a236/main.js#L102

To test:

git clone https://github.com/plq/seker
cd seker
./install.sh
node main.js cmd '!tview BTCUSD'

observe that the process stays up.

Any suggestions?

Disclaimer: this is my first node project ever

PS: Also, any suggestions about auto-filling the symbol => source mapping here: https://github.com/plq/seker/blob/ef15ce43028b8fe6372d2460da6710b434b5a236/main.js#L94 ?

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