On Jan 25, 2013, at 22:39 , Martin Hewitson <martin.hewit...@aei.mpg.de> wrote:

> This was held for moderation for being too large (for some reason), so I've 
> trimmed it and resent it.

Yes, this happens sometimes when you paste something with formatting into an 
email as unformatted text. I don't think my post (that you're replying to here) 
ever got to the list, even though I tried to fix it and resend. Anyway, you've 
repeated the essentials.

> OK, in my -tearDown I've inserted
> 
>  [self.mainWindow 
> setNextResponder:self.controlsTabBarController.nextResponder];

This isn't perhaps entirely safe. If anything has inserted another responder 
between the window and your view controller, you're going to mess up the 
responder chain.

You should really walk the chain starting at the window, looking for the last 
thing before your view controller, and adjust *that* (which will generally be 
the window itself).

>> Anyway I would suggest you investigate both #1 (by further examining your 
>> code for memory management errors, and winnowing the full Instruments 
>> history of the object) and #2 (to understand which presumably-unretained 
>> reference is being used for the zombie messaging).
>> 
> Looking forward to your further thoughts on this,

I think your problem is solved. :)

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to