guileen/node-mongoskin — Issue #29: When to close?
Author: goloroden
Created: 2012-01-20 20:28:18+00:00
State: open

I have learned that I should not create a new connection for each request of my web app, but have one connection for the complete lifetime of the app.

How do I close the connection properly when the user shuts down the program (e.g. by hitting Ctrl+C)?
Do I *NEED* to do this?
What happens if a connection does not get closed explicitly?