| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 952a528 commit 975edf5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1348,7 +1348,7 @@ function endReadableNT(state, stream) { | |||
| 1348 | 1348 | stream.emit('end'); | |
| 1349 | 1349 | ||
| 1350 | 1350 | if (stream.writable && stream.allowHalfOpen === false) { | |
| 1351 | - process.nextTick(endWritableNT, state, stream); | ||
| 1351 | + process.nextTick(endWritableNT, stream); | ||
| 1352 | 1352 | } else if (state.autoDestroy) { | |
| 1353 | 1353 | // In case of duplex streams we need a way to detect | |
| 1354 | 1354 | // if the writable side is ready for autoDestroy as well. | |
@@ -1367,7 +1367,7 @@ function endReadableNT(state, stream) { | |||
| 1367 | 1367 | } | |
| 1368 | 1368 | } | |
| 1369 | 1369 | ||
| 1370 | - function endWritableNT(state, stream) { | ||
| 1370 | + function endWritableNT(stream) { | ||
| 1371 | 1371 | const writable = stream.writable && !stream.writableEnded && | |
| 1372 | 1372 | !stream.destroyed; | |
| 1373 | 1373 | if (writable) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments