| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cf59e87 commit de17117
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1334,7 +1334,7 @@ function endReadableNT(state, stream) { | |||
| 1334 | 1334 | stream.emit('end'); | |
| 1335 | 1335 | ||
| 1336 | 1336 | if (stream.writable && stream.allowHalfOpen === false) { | |
| 1337 | - process.nextTick(endWritableNT, state, stream); | ||
| 1337 | + process.nextTick(endWritableNT, stream); | ||
| 1338 | 1338 | } else if (state.autoDestroy) { | |
| 1339 | 1339 | // In case of duplex streams we need a way to detect | |
| 1340 | 1340 | // if the writable side is ready for autoDestroy as well. | |
@@ -1353,7 +1353,7 @@ function endReadableNT(state, stream) { | |||
| 1353 | 1353 | } | |
| 1354 | 1354 | } | |
| 1355 | 1355 | ||
| 1356 | - function endWritableNT(state, stream) { | ||
| 1356 | + function endWritableNT(stream) { | ||
| 1357 | 1357 | const writable = stream.writable && !stream.writableEnded && | |
| 1358 | 1358 | !stream.destroyed; | |
| 1359 | 1359 | if (writable) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments