src: register missing stream wrap external references

PR-URL: https://github.com/nodejs/node/pull/39961
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Joyee Cheung committed 2021-09-06 18:12:46 +08:00
1 parent afc77605d2
commit cf11a2b0fb
1 file changed
+4
+4
View File
@@ -106,6 +106,10 @@ void LibuvStreamWrap::Initialize(Local<Object> target,
void LibuvStreamWrap::RegisterExternalReferences(
ExternalReferenceRegistry* registry) {
registry->Register(IsConstructCallCallback);
registry->Register(GetWriteQueueSize);
registry->Register(SetBlocking);
// TODO(joyee): StreamBase::RegisterExternalReferences() is called somewhere
// else but we may want to do it here too and guard it with a static flag.
}
LibuvStreamWrap::LibuvStreamWrap(Environment* env,