| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f6606bf commit 4958501
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,15 +49,10 @@ function test(clazz, cb) { | |||
| 49 | 49 | }); | |
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | - const timeout = setTimeout(function() { | ||
| 53 | - server.close(); | ||
| 54 | - }, 2000); | ||
| 55 | - | ||
| 56 | 52 | const server = net.Server(); | |
| 57 | 53 | server.listen(common.PIPE, ping); | |
| 58 | 54 | server.on('connection', pong); | |
| 59 | 55 | server.on('close', function() { | |
| 60 | - clearTimeout(timeout); | ||
| 61 | 56 | check(); | |
| 62 | 57 | cb && cb(); | |
| 63 | 58 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments