mirror of https://github.com/lukechilds/node.git
Browse Source
Register the 'close' event listener with .once(), not .on(). It doesn't matter in the grand scheme of things because the listener doesn't keep references to any heavy-weight objects but using .once() for a oneshot listener is something of a best practice.v0.8.22-release
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue