Re: Crashes with NSOpenPanel and garbage collection
Re: Crashes with NSOpenPanel and garbage collection
- Subject: Re: Crashes with NSOpenPanel and garbage collection
- From: "Michael Ash" <email@hidden>
- Date: Fri, 9 May 2008 11:27:41 -0400
On Fri, May 9, 2008 at 8:17 AM, Daniel Parnell <email@hidden> wrote:
> Thanks for that. I was wondering if that might be the case, although I've
> not been able to find anything online about the problem.
>
> One of the thoughts I've had about a possible fix is to create a non garbage
> collected framework containing just a stub which opens the NSOpenPanel and
> calling that from the garbage collected app. I don't know if it will work
> or not, but I might try it and see.
Cocoa garbage collection does not support mixed mode use. Either the
entire process is garbage collected or none of it is. You can't load a
non-GC framework into a GC app.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden