-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Use Case
As a... Node Driver user
I want... MongoClient.close to always close monitoring connections (even if close fails otherwise)
So that... monitoring connections are consistently closed and don't end up leaking
User Experience
- `MongoClient.close` closes the monitoring connections, even if other parts of `close` fails
- users right now can workaround by calling MongoClient.close twice on the client
Dependencies
- none
Risks/Unknowns
- none
Acceptance Criteria
Implementation Requirements
- MongoClient.close closes monitoring connections, even in cases when `close` itself throws an exception
Testing Requirements
- add unit tests to cover this scenario
Documentation Requirements
- none
Follow Up Requirements
- none