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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
Gabriel Schulhof committed Jun 6, 2018
1 parent e5d9198 commit 99c51f1
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 99c51f1

Please sign in to comment.