Re: Hover button and tracking area questions
Re: Hover button and tracking area questions
- Subject: Re: Hover button and tracking area questions
- From: Quincey Morris <email@hidden>
- Date: Thu, 24 Jan 2013 00:03:52 -0800
On Jan 23, 2013, at 23:49 , Kyle Sluder <email@hidden> wrote:
> There's no need to release and
> reinstall your tracking areas every time you get -updateTrackingAreas
I agree with this part.
> Regardless, you've failed to implement the pattern properly. You're
> never removing the tracking areas before installing new ones.
And I agree with this part.
> It should
> be pretty obvious why this is causing you to crash when messaging zombie
> objects.
But not this, though it was my first thought, too. However, it would be a bug in the frameworks if 'addTrackingArea:' didn't retain the passed area, which means the code (effectively) leaks tracking areas, rather than creating zombies.
Nevertheless, it does look like a memory management error, possibly one that's unrelated to tracking areas except by chance.
On Jan 23, 2013, at 23:14 , Nick Rogers <email@hidden> wrote:
> The crash report says something about _updateTrackingAreas, so I have detailed about the situation above.
What's the actual error message? You left that out, but it's important.
_______________________________________________
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