| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 43db0fb commit 7435284
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ class JSStreamSocket extends Socket { | |||
| 141 | 141 | ||
| 142 | 142 | const handle = this._handle; | |
| 143 | 143 | ||
| 144 | - setImmediate(() => { | ||
| 144 | + process.nextTick(() => { | ||
| 145 | 145 | // Ensure that write is dispatched asynchronously. | |
| 146 | 146 | this.stream.end(() => { | |
| 147 | 147 | this.finishShutdown(handle, 0); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments