We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe74aa commit 929205eCopy full SHA for 929205e
src/node_symbols.cc
@@ -16,10 +16,12 @@ static void Initialize(Local<Object> target,
16
Local<Context> context,
17
void* priv) {
18
Environment* env = Environment::GetCurrent(context);
19
-#define V(PropertyName, StringValue) \
20
- target->Set(env->context(), \
21
- env->PropertyName()->Description(), \
22
- env->PropertyName()).Check();
+#define V(PropertyName, StringValue) \
+ target \
+ ->Set(env->context(), \
+ env->PropertyName()->Description(env->isolate()), \
23
+ env->PropertyName()) \
24
+ .Check();
25
PER_ISOLATE_SYMBOL_PROPERTIES(V)
26
#undef V
27
}
0 commit comments