diff --git a/src/node_serdes.cc b/src/node_serdes.cc index 5d5d002e9dd683..565fb7e3f084d1 100644 --- a/src/node_serdes.cc +++ b/src/node_serdes.cc @@ -296,6 +296,7 @@ MaybeLocal DeserializerContext::ReadHostObject(Isolate* isolate) { return ValueDeserializer::Delegate::ReadHostObject(isolate); } + Isolate::AllowJavascriptExecutionScope allow_js(isolate); MaybeLocal ret = read_host_object.As()->Call(env()->context(), object(),