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

Fix Unhandled TypeError error (add ability to pass arguments to setImmediate and setTimeout callbacks) #138

Merged
merged 2 commits into from
Aug 30, 2018

Conversation

vecchiotom
Copy link
Contributor

this fixes errors like Unhandled error TypeError: Cannot read property '_destroySSL' of undefined, this error was being thrown because https://github.com/citizenfx/node/blob/93ebc8f2c1af6818bc7c94bdb65671a55ae523e5/lib/_tls_wrap.js#L407
was passing "this" as an argument to setImmediate, but setImmediate wasn't passing the argument along to the destroySSL function.

this will fix errors like `Unhandled error TypeError: Cannot read property '_destroySSL' of undefined`
@blattersturm blattersturm merged commit ff6e660 into citizenfx:master Aug 30, 2018
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

Successfully merging this pull request may close these issues.

2 participants