Skip to content

Commit b4e074c

Browse files
joyeecheungBethGriggs
authored andcommittedSep 21, 2021
src: register missing stream wrap external references
PR-URL: #39961 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent a2c1c3e commit b4e074c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/stream_wrap.cc

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ void LibuvStreamWrap::Initialize(Local<Object> target,
106106
void LibuvStreamWrap::RegisterExternalReferences(
107107
ExternalReferenceRegistry* registry) {
108108
registry->Register(IsConstructCallCallback);
109+
registry->Register(GetWriteQueueSize);
110+
registry->Register(SetBlocking);
111+
// TODO(joyee): StreamBase::RegisterExternalReferences() is called somewhere
112+
// else but we may want to do it here too and guard it with a static flag.
109113
}
110114

111115
LibuvStreamWrap::LibuvStreamWrap(Environment* env,

0 commit comments

Comments
 (0)
Please sign in to comment.