Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to close ws connection #4

Open
plq opened this issue Mar 7, 2023 · 0 comments
Open

Unable to close ws connection #4

plq opened this issue Mar 7, 2023 · 0 comments

Comments

@plq
Copy link

plq commented Mar 7, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant