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 2adaeee commit 59773fcCopy full SHA for 59773fc
1 file changed
lib/internal/blob.js
@@ -530,6 +530,9 @@ function createBlobReaderStream(reader) {
530
pending.reject(reason);
531
}
532
this.pendingPulls = [];
533
+ // Explicitly clear the reader wakeup callback to sever the GC reference
534
+ // between the active C++ handle and the pending JS stream.
535
+ reader.setWakeup(undefined);
536
},
537
// We set the highWaterMark to 0 because we do not want the stream to
538
// start reading immediately on creation. We want it to wait until read
0 commit comments