• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hover button and tracking area questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Hover button and tracking area questions
      • From: Kyle Sluder <email@hidden>
References: 
 >Hover button and tracking area questions (From: Nick Rogers <email@hidden>)
 >Re: Hover button and tracking area questions (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Hover button and tracking area questions
  • Next by Date: Re: Coordinate conversions in CALayer
  • Previous by thread: Re: Hover button and tracking area questions
  • Next by thread: Re: Hover button and tracking area questions
  • Index(es):
    • Date
    • Thread