leon/play-salat — pull request #16 by jeantil (2012-07-11 23:05:51+00:00)
Title: Release connections when App restarts

Fix Issue #15 : Salat doesn't release connections in dev mode when reload

* Keep a reference to each connection initiated by a MongoSource
* Expose a close method on MongoSource allowing to close the underlying connection
* Make the plugin close connections when onStop is called.