File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,8 @@ function onStreamRead(arrayBuffer) {
204
204
}
205
205
206
206
if ( nread !== UV_EOF ) {
207
- // #34375 CallJSOnreadMethod expects the return value to be a buffer.
207
+ // CallJSOnreadMethod expects the return value to be a buffer.
208
+ // Ref: https://github.com/nodejs/node/pull/34375
208
209
stream . destroy ( errnoException ( nread , 'read' ) ) ;
209
210
return ;
210
211
}
@@ -224,7 +225,8 @@ function onStreamRead(arrayBuffer) {
224
225
if ( handle . readStop ) {
225
226
const err = handle . readStop ( ) ;
226
227
if ( err ) {
227
- // #34375 CallJSOnreadMethod expects the return value to be a buffer.
228
+ // CallJSOnreadMethod expects the return value to be a buffer.
229
+ // Ref: https://github.com/nodejs/node/pull/34375
228
230
stream . destroy ( errnoException ( err , 'read' ) ) ;
229
231
return ;
230
232
}
You can’t perform that action at this time.
0 commit comments