C++ std string cleanup?
C++ std string cleanup?
- Subject: C++ std string cleanup?
- From: jason rusoff <email@hidden>
- Date: Wed, 7 Jan 2004 13:48:44 -0800
I am writing a plugin that uses C++ standard strings. After my plugin
has been unloaded and the parent application quits, I'm seeing bad
access memory errors in what appear to be string destructors. Some of
these strings are stack based variables and some are const declared in
a .h file. Does the C++ runtime destroy these after the app quits? Is
there any way to force the destruction when my plugin is unloaded? The
error occurs in dyld_mod_term_funcs, which runs after [NSApplication
terminate]; Do I need to add some c++ runtime libs to the main app,
which is cocoa/Objc?
Thanks,
Jason
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.