binding causing retain loop?
binding causing retain loop?
- Subject: binding causing retain loop?
- From: Olivier Destrebecq <email@hidden>
- Date: Fri, 30 Jul 2004 11:13:29 -0400
I have a window controller which is the owner of the file. I have some
array controller which have their content bound through the window
controller and also various other item bound through the file owner.
All works fine until it is time to close the window. In the window
controllers windowWill close method, i call [self autorelease] in the
hope to release the controller and all associated object, but at that
point the retain count is 13... I break on retain and notice that all
the binding i have through the window controller retained it. But those
are not released later on, i set a breakpoint on release and
autorelease and it was not called by the bindings.
So basically my window and its controller are never released :-(
any thought
Olivier
http://www-personal.si.umich.edu/~olivier/home/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.