Skip to content

Commit

Permalink
n-api: remove unused napi_env member
Browse files Browse the repository at this point in the history
`wrap_template` is no longer used since we've switched to v8::Private.

PR-URL: #21127
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
Gabriel Schulhof authored and targos committed Jun 13, 2018
1 parent a6986fe commit 9047c81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ struct napi_env__ {
loop(_loop) {}
v8::Isolate* isolate;
node::Persistent<v8::Value> last_exception;
node::Persistent<v8::ObjectTemplate> wrap_template;
node::Persistent<v8::ObjectTemplate> function_data_template;
node::Persistent<v8::ObjectTemplate> accessor_data_template;
napi_extended_error_info last_error;
Expand Down

0 comments on commit 9047c81

Please sign in to comment.