| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,7 +25,7 @@ function once(cb) { | |||
| 25 | 25 | } | |
| 26 | 26 | ||
| 27 | 27 | function finished(client, callback) { | |
| 28 | - 'abort error end'.split(' ').forEach((e) => { | ||
| 28 | + ['abort', 'error', 'end'].forEach((e) => { | ||
| 29 | 29 | client.on(e, once(() => setImmediate(callback))); | |
| 30 | 30 | }); | |
| 31 | 31 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments