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

Exit always blocked after require() #474

Open
cherrydev opened this issue Jul 15, 2021 · 1 comment
Open

Exit always blocked after require() #474

cherrydev opened this issue Jul 15, 2021 · 1 comment

Comments

@cherrydev
Copy link

Any time after

require('lifion-kinesis');

is called, the node script will not exit unless forced to. No other functions need to be called to see this behaviour. I've tried running wtfnode which will find open files, ports, timers, etc, etc and I get the following output:

[WTF Node?] open handles:
- File descriptors: (note: stdio always exists)
  - fd 1 (tty) (stdio)
  - fd 2 (tty) (stdio)
- Others:
  - MessagePort

MessagePort implies (based on my really limited knowledge) that maybe a worker thread is opened somewhere? At a glance I'm not seeing what could be causing this, or any library you're using that might be using MessagePort or worker threads.

@eaviles
Copy link
Member

eaviles commented Jul 15, 2021

We will investigate ASAP. Thanks for reporting!

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

No branches or pull requests

2 participants