• 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: Deallocation while key value observers still registered
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deallocation while key value observers still registered


  • Subject: Re: Deallocation while key value observers still registered
  • From: Roland King <email@hidden>
  • Date: Tue, 25 May 2010 21:17:25 +0800

what version of what operating system are you using?

On 25-May-2010, at 9:14 PM, Gideon King wrote:

> Hi, I'm getting the message:
>
> An instance 0x11d0ce4b0 of class NMGeneralPrintAccessoryController was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info: <all my observers>
>
> But I have put a breakpoint on my dealloc method, and in there, I do deregister for those notifications. Dealloc is called, and I did check that it was the same object, and all the calls to deregister are there. So I don't know how it could *not* be removing the observers.
>
> Any clues where to look?
>
> Thanks
>
> Gideon
>
>
>
>
>
>
>
> _______________________________________________
>
> 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: Deallocation while key value observers still registered
      • From: Gideon King <email@hidden>
References: 
 >Deallocation while key value observers still registered (From: Gideon King <email@hidden>)

  • Prev by Date: Deallocation while key value observers still registered
  • Next by Date: Re: Deallocation while key value observers still registered
  • Previous by thread: Deallocation while key value observers still registered
  • Next by thread: Re: Deallocation while key value observers still registered
  • Index(es):
    • Date
    • Thread