samus/mongodb-csharp — pull request #40 by ghk (2012-10-01 05:34:29+00:00)
Title: Fix memory leak when replacing invalid connections on multi threaded environment.

make ReplaceInvalidCollection done while holding lock

Without holding lock, there is race condition between threads on replacing connections, i.e. "_connection"s created but only one of them used. This creates many unclosed TCPClients.