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

node 0.12 and 4+ differences #122

Open
jstrimpel opened this issue Aug 16, 2017 · 1 comment
Open

node 0.12 and 4+ differences #122

jstrimpel opened this issue Aug 16, 2017 · 1 comment

Comments

@jstrimpel
Copy link

jstrimpel commented Aug 16, 2017

Did something fundamentally change in the way callbacks are processed in Node 4+ that would cause the need for one to bind (ns.bind(callback)) all callbacks that occur inside an ns.run in order to not lose the run context?

@jstrimpel
Copy link
Author

jstrimpel commented Aug 16, 2017

Removing the following line seems to resolve the issue or at least demonstrates the expected behavior within my application. Why? https://github.com/othiym23/node-continuation-local-storage/blob/master/context.js#L178

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