| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -201,7 +201,7 @@ function createWriteErrorHandler(instance, streamSymbol) { | |||
| 201 | 201 | // removed after the event, non-console.* writes won't be affected. | |
| 202 | 202 | // we are only adding noop if there is no one else listening for 'error' | |
| 203 | 203 | if (stream.listenerCount('error') === 0) { | |
| 204 | - stream.on('error', noop); | ||
| 204 | + stream.once('error', noop); | ||
| 205 | 205 | } | |
| 206 | 206 | } | |
| 207 | 207 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments