-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.0
-
Component/s: Performance
-
None
MongoConnection#tcpClient might be null in MongoConnection.Close() leading to a bunch of handled NullReferenceExceptions (I encountered this when trying to connect to an incomplete replica set). While this does not affect functionality, debugging (especially online) and performance suffers from extra exceptions. I believe that a simple null check would solve the problem.