• 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: menu madness with retain count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu madness with retain count


  • Subject: Re: menu madness with retain count
  • From: Klaus Backert <email@hidden>
  • Date: Tue, 27 Apr 2010 21:50:54 +0200


On 27 Apr 2010, at 21:38, vincent habchi wrote:

Because earlier in this afternoon I decided to trace the retain/ release messages sent to an object by overriding the respective methods and have them write the retain count before calling super methods. I registered most curious behaviors, for example objects released while the last time their retain count was printed it was equal to 2. No 1, no 0. That's why I asked, just to know if autorelease does not short-circuit the traditional release: call by accessing the retain count directly.

As others have said: This is the way to madness. You didn't believe it, do you?


Klaus

_______________________________________________

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


References: 
 >menu madness with retain count (From: Bill Appleton <email@hidden>)
 >Re: menu madness with retain count (From: Graham Cox <email@hidden>)
 >Re: menu madness with retain count (From: Bill Appleton <email@hidden>)
 >Re: menu madness with retain count (From: Jens Alfke <email@hidden>)
 >Re: menu madness with retain count (From: vincent habchi <email@hidden>)
 >Re: menu madness with retain count (From: Scott Ribe <email@hidden>)
 >Re: menu madness with retain count (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: menu madness with retain count
  • Next by Date: Re: menu madness with retain count
  • Previous by thread: Re: menu madness with retain count
  • Next by thread: Re: menu madness with retain count
  • Index(es):
    • Date
    • Thread