Commit 178ac336 authored by Trevor Norris's avatar Trevor Norris
Browse files

js_stream: prevent abort if isalive doesn't exist

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: https://github.com/nodejs/node/pull/3282


Reviewed-By: default avatarFedor Indutny <fedor.indutny@gmail.com>
parent ded4f91e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment