Re: Carbon app and Cocoa/Carbon Bundle plugin - possible?!
Re: Carbon app and Cocoa/Carbon Bundle plugin - possible?!
- Subject: Re: Carbon app and Cocoa/Carbon Bundle plugin - possible?!
- From: Chris Hanson <email@hidden>
- Date: Tue, 18 Jun 2013 18:10:54 -0700
On Jun 18, 2013, at 12:51 PM, Igor Delovski <email@hidden> wrote:
> At first glance this seems to be the case. Just put into comments this part: CFRelease (bundleRef); and application stopped crashing. Now I have to reorganize everything, plugins need to tell the application if they need to stay alive forever.
You can’t really safely unload any of your plug-ins, even if they don’t use Cocoa directly, because subsystems they rely upon (for example, other OS-level frameworks) may use Cocoa.
Virtually all developers should treat CFBundleUnloadExecutable, -[NSBundle unload], and dlclose(3) as if they’re unavailable.
-- Chris
_______________________________________________
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