Commit e6ab2d92 authored by Trevor Norris's avatar Trevor Norris Committed by Rod Vagg
Browse files

buffer: fix not return on error

Throwing a JS error from C++ does not mean the function will return
early. This must be done manually.

Also remove extraneous comment no longer relevant.

Fix: 2903030 "buffer: switch API to return MaybeLocal<T>"
PR-URL: https://github.com/nodejs/io.js/pull/2225


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 9f727f5e
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