[CDRIVER-2583] Callbacks for topology events are not cleared out when passing in NULL Created: 03/Apr/18  Updated: 28/Oct/23  Resolved: 04/Apr/18

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Kaitlin Mahar Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

While most callbacks are correctly disabled when passing in NULL to mongoc_client_set_apm_callbacks, this is not the case for topology events.



 Comments   
Comment by Githook User [ 03/Apr/18 ]

Author:

{'email': 'kaitlin.mahar@mongodb.com', 'name': 'Kaitlin Mahar', 'username': 'kmahar'}

Message: CDRIVER-2583 disable topology event callbacks when NULL is passed in
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/40b1bd78c164b1b0f8b55d35b6e29e4be3505b8d

Comment by Githook User [ 03/Apr/18 ]

Author:

{'email': 'kaitlin.mahar@mongodb.com', 'name': 'Kaitlin Mahar', 'username': 'kmahar'}

Message: CDRIVER-2583 disable topology event callbacks when NULL is passed in
Branch: sdam-callbacks
https://github.com/mongodb/mongo-c-driver/commit/e4a42481ae41738044e6a2a38264db36a14ad482

Generated at Wed Feb 07 21:15:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.