Skip to content

examples: fix abort in nan version of 7_object_wrap#70

Closed
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
gabrielschulhof:64-fix-7_object_wrap_nan
Closed

examples: fix abort in nan version of 7_object_wrap#70
gabrielschulhof wants to merge 1 commit intonodejs:masterfrom
gabrielschulhof:64-fix-7_object_wrap_nan

Conversation

@gabrielschulhof
Copy link
Copy Markdown
Contributor

When creating a prototype method, the FunctionTemplate must be
attached to the PrototypeTemplate, not the resulting Function.

Fixes: #64

When creating a prototype method, the `FunctionTemplate` must be
attached to the `PrototypeTemplate`, not the resulting `Function`.

Fixes: nodejs#64
Copy link
Copy Markdown
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gabrielschulhof
Copy link
Copy Markdown
Contributor Author

@NickNaso PTAL

Copy link
Copy Markdown
Member

@NickNaso NickNaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

gabrielschulhof pushed a commit that referenced this pull request Oct 8, 2018
When creating a prototype method, the `FunctionTemplate` must be
attached to the `PrototypeTemplate`, not the resulting `Function`.

Fixes: #64
PR-URL: #70
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@gabrielschulhof gabrielschulhof deleted the 64-fix-7_object_wrap_nan branch October 8, 2018 03:03
@gabrielschulhof
Copy link
Copy Markdown
Contributor Author

Landed in cf02f73.

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.

3 participants