★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/9047c8182cNouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

n-api: remove unused napi_env member

`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...
gabrielschulhof authored and targos committed Jun 4, 2018
1 parent a6986fe commit 9047c8182c90793a194ea7b8da05068010661733
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/node_api.cc
@@ -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;

0 comments on commit 9047c81

Please sign in to comment.
You can’t perform that action at this time.