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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com