C++ static destructors and shared library unloading?
C++ static destructors and shared library unloading?
- Subject: C++ static destructors and shared library unloading?
- From: Mark Alldritt <email@hidden>
- Date: Thu, 18 May 2006 15:59:19 -0700
- Thread-topic: C++ static destructors and shared library unloading?
Hi Folks,
I'm struggling with a problem where I'm experiencing crashes when my app
exits. The crashes happen when the C++ run-time invokes a static C++
destructors. My static C++ objects are created in the main application, but
rely on C++ objects from a loaded framework. It appears that these
destructors are begin invoked after my framework has been unloaded, and so
they calling missing framework code.
Is there something special I need to do in Xcode to ensure that static C++
destructors are invoked before frameworks are unloaded?
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
Affrus 1.0 - Perl Debugging
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden