[CXX-103] It must be OK to run the destructors for static objects created by the C++ driver Created: 17/May/12  Updated: 23/Oct/14  Resolved: 13/Oct/14

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc1

Type: Improvement Priority: Blocker - P1
Reporter: Andy Schwerin Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: cxxmove, legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-5520 Shutdown rewrite (tracking ticket) Closed
Related
related to CXX-334 Remove StaticObserver and all uses in... Closed

 Description   

As part of SERVER-5520, we're moving away form executing static destructors in mongo programs. C++ client users will still presumably be calling exit() or returning from main(), and so running their destructors. We'll want to test that this keeps working.



 Comments   
Comment by Githook User [ 13/Oct/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-103 CXX-334 kill StaticObserver and enable RSMW to be stopped/started
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/7f5791a91ca2c2c82df69e2eee6e4347a704c8a1

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