joyent/node — pull request #7854 by skeggse (2014-06-28 05:35:17+00:00)
Title: Ensure handle still open before emitting listening, fixes #7834

Fixes #7834.

```js
net.createServer()
.on('listening', console.log.bind(console, 'listening'))
.listen()
.close();
```