From db75711c5c8db3464b45c8176b4bea1a54fd3c63 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Tue, 31 Aug 2021 23:18:59 +0800 Subject: [PATCH] src: register missing process methods external references PR-URL: https://github.com/nodejs/node/pull/39961 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Michael Dawson --- src/node_process_object.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/node_process_object.cc b/src/node_process_object.cc index 587b4ecb936835..29f6569a45e5b2 100644 --- a/src/node_process_object.cc +++ b/src/node_process_object.cc @@ -211,6 +211,11 @@ void PatchProcessObject(const FunctionCallbackInfo& args) { void RegisterProcessExternalReferences(ExternalReferenceRegistry* registry) { registry->Register(RawDebug); + registry->Register(GetParentProcessId); + registry->Register(DebugPortSetter); + registry->Register(DebugPortGetter); + registry->Register(ProcessTitleSetter); + registry->Register(ProcessTitleGetter); } } // namespace node