• 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: Overriding the release mehod
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overriding the release mehod


  • Subject: Re: Overriding the release mehod
  • From: Dave <email@hidden>
  • Date: Wed, 25 Jan 2017 16:23:41 +0000

I hate it when people as that question! There are some memory leaks in a 3rd party package. It overrides release to unregister an observer but doesn’t call super. If I call super the leaks go away and all is well. I just want to know where is it documented really, I can’t find it searching the docs.

Cheers
Dave

> On 25 Jan 2017, at 15:55, Mike Abdullah <email@hidden> wrote:
>
> You’re inevitably going to get asked this:
> Why on earth are you overriding release? It’s an incredibly niche thing to do, and the answer probably depends a lot on why you’re overriding it.
>
>> On 25 Jan 2017, at 16:52, Dave <email@hidden> wrote:
>>
>> Hi,
>>
>> Does [suoer release] need to be called if you override this method? I’m 99.99999% sure it does, but I can’t find it anywhere it actually says it in black and white.
>>
>> All the Best
>> Dave
>>
>>
>> _______________________________________________
>>
>> 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


  • Follow-Ups:
    • Re: Overriding the release mehod
      • From: Greg Parker <email@hidden>
    • Re: Overriding the release mehod
      • From: Bill Cheeseman <email@hidden>
References: 
 >PDF to Word ( docx) Conversion (From: Peter Hudson <email@hidden>)
 >Overriding the release mehod (From: Dave <email@hidden>)
 >Re: Overriding the release mehod (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Overriding the release mehod
  • Next by Date: Re: Overriding the release mehod
  • Previous by thread: Re: Overriding the release mehod
  • Next by thread: Re: Overriding the release mehod
  • Index(es):
    • Date
    • Thread