Skip to content

Commit 9047c81

Browse files
Gabriel Schulhoftargos
Gabriel Schulhof
authored andcommitted
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent a6986fe commit 9047c81

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_api.cc

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ struct napi_env__ {
2323
loop(_loop) {}
2424
v8::Isolate* isolate;
2525
node::Persistent<v8::Value> last_exception;
26-
node::Persistent<v8::ObjectTemplate> wrap_template;
2726
node::Persistent<v8::ObjectTemplate> function_data_template;
2827
node::Persistent<v8::ObjectTemplate> accessor_data_template;
2928
napi_extended_error_info last_error;

0 commit comments

Comments
 (0)