-
-
Save indutny/d267a53e69e8d4de0eb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node_contextify.cc b/src/node_contextify.cc | |
index da63655..fa1ba07 100644 | |
--- a/src/node_contextify.cc | |
+++ b/src/node_contextify.cc | |
@@ -65,8 +65,8 @@ class ContextifyContext { | |
, sandbox_(env->isolate(), sandbox) | |
, context_(env->isolate(), CreateV8Context(env)) | |
, proxy_global_(env->isolate(), context()->Global()) { | |
- sandbox_.MakeWeak(this, SandboxFreeCallback); | |
- sandbox_.MarkIndependent(); | |
+ proxy_global_.MakeWeak(this, SandboxFreeCallback); | |
+ proxy_global_.MarkIndependent(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment