Skip to content

Commit

Permalink
fixup! vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY
Browse files Browse the repository at this point in the history
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
joyeecheung and legendecas authored Aug 28, 2024
1 parent 85c7090 commit d43c426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_contextify.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ContextifyContext : public BaseObject {
static void RegisterExternalReferences(ExternalReferenceRegistry* registry);

static ContextifyContext* ContextFromContextifiedSandbox(
Environment* env, const v8::Local<v8::Object>& referrer);
Environment* env, const v8::Local<v8::Object>& wrapper_holder);

inline v8::Local<v8::Context> context() const {
return PersistentToLocal::Default(env()->isolate(), context_);
Expand Down

0 comments on commit d43c426

Please sign in to comment.