Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@trevnorris
Copy link
Contributor

Attempting to check IsAlive() on a JSStream before the isAlive()
callback can be set in JS causes a CHECK to fail in MakeCallback.
Instead return false if the callback hasn't been set.

R=@indutny

CI: https://ci.nodejs.org/job/node-test-pull-request/455/

Attempting to check IsAlive() on a JSStream before the isAlive()
callback can be set in JS causes a CHECK to fail in MakeCallback.
Instead return false if the callback hasn't been set.
@trevnorris trevnorris added the c++ Issues and PRs that require attention from people who are familiar with C++. label Oct 8, 2015
@indutny
Copy link
Member

indutny commented Oct 8, 2015

LGTM

@trevnorris
Copy link
Contributor Author

CI failures are:

  • test-debug-signal-cluster.js on smartos14-32
  • test-http-response-no-headers.js on smartos14-64
  • test-stringbytes-external.js on pi1-raspbian-wheezy

All are unrelated.

trevnorris added a commit that referenced this pull request Oct 8, 2015
Attempting to check IsAlive() on a JSStream before the isAlive()
callback can be set in JS causes a CHECK to fail in MakeCallback.
Instead return false if the callback hasn't been set.

PR-URL: #3282
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
@trevnorris
Copy link
Contributor Author

Thanks. Landed in 178ac33.

Considering this a bug fix for LTS. /cc @jasnell

trevnorris added a commit that referenced this pull request Oct 8, 2015
Attempting to check IsAlive() on a JSStream before the isAlive()
callback can be set in JS causes a CHECK to fail in MakeCallback.
Instead return false if the callback hasn't been set.

PR-URL: #3282
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
@trevnorris
Copy link
Contributor Author

Cherry-picked to v4.x on 1850879.

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

Labels

c++ Issues and PRs that require attention from people who are familiar with C++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.