Skip to content

Commit

Permalink
fixup! n-api: make per-Context-ness of napi_env explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 21, 2018
1 parent 3fe948d commit 2f3c078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct napi_env__ {
CHECK_NOT_NULL(node_env());
}

v8::Isolate* isolate; // Shortcut for context()->GetIsolate()
v8::Isolate* const isolate; // Shortcut for context()->GetIsolate()
node::Persistent<v8::Context> context_persistent;

inline v8::Local<v8::Context> context() const {
Expand Down

0 comments on commit 2f3c078

Please sign in to comment.