Skip to content

Commit 2f3c078

Browse files
committed
fixup! n-api: make per-Context-ness of napi_env explicit
1 parent 3fe948d commit 2f3c078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct napi_env__ {
2525
CHECK_NOT_NULL(node_env());
2626
}
2727

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

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

0 commit comments

Comments
 (0)