• 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: firstResponder KVO snow leopard crash; bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: firstResponder KVO snow leopard crash; bug?


  • Subject: Re: firstResponder KVO snow leopard crash; bug?
  • From: Keary Suska <email@hidden>
  • Date: Wed, 18 Nov 2009 08:48:25 -0700

On Nov 17, 2009, at 2:04 PM, Aaron Clarke wrote:

> Even if it doesn't crash, closing the NSWindow always results in the
> following error message.
>
> An instance 0x11b75230 of class MyWindow 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:
> <NSKeyValueObservationInfo 0x19408190> (
> <NSKeyValueObservance 0x194233d0: Observer: 0x463afa0, Key path:
> firstResponder, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0,
> Property: 0x4453e60>
> <NSKeyValueObservance 0x1ab6ad40: Observer: 0x19427a80, Key path:
> firstResponder, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0,
> Property: 0x4453e60>
> )

Do you have "release when closed" checked for the window? If so, what happens when you uncheck it?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: 
 >firstResponder KVO snow leopard crash; bug? (From: Aaron Clarke <email@hidden>)

  • Prev by Date: Re: How to stop NSScrollView from scrolling to top when horizontally resizing contained NSTextView?
  • Next by Date: Re: firstResponder KVO snow leopard crash; bug?
  • Previous by thread: firstResponder KVO snow leopard crash; bug?
  • Next by thread: Re: firstResponder KVO snow leopard crash; bug?
  • Index(es):
    • Date
    • Thread