Re: Crashes with NSOpenPanel and garbage collection
Re: Crashes with NSOpenPanel and garbage collection
- Subject: Re: Crashes with NSOpenPanel and garbage collection
- From: John Stiles <email@hidden>
- Date: Fri, 09 May 2008 09:09:36 -0700
Though I guess he could make a LSUIElement application to handle this.
Kinda clunky, but it would work.
Michael Ash wrote:
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
_______________________________________________
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