diff --git a/src/node_contextify.cc b/src/node_contextify.cc index fc8aa451347..8713f25ad3e 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -222,6 +222,9 @@ class ContextifyContext { // directly in an Object, we instead hold onto the new context's global // object instead (which then has a reference to the context). ctx->SetEmbedderData(kSandboxObjectIndex, sandbox_obj); + void* data = env->context()->GetAlignedPointerFromEmbedderData(2); //v8ContextPerContextDataIndex + ctx->SetAlignedPointerInEmbedderData(2, data); + ctx->SetAlignedPointerInEmbedderData(33, (void*)0x08110800); sandbox_obj->SetPrivate(env->context(), env->contextify_global_private_symbol(), ctx->Global());