Instantly Releasing Window Controller...
Instantly Releasing Window Controller...
- Subject: Instantly Releasing Window Controller...
- From: "Joshua D. Orr" <email@hidden>
- Date: Sun, 14 Jul 2002 22:03:17 -0600
I have a situation where a document keeps track of a window controller
in a NSMutableArray. The window controller at deallocation has to send
a message to the document. When the document deallocates, it removes
the window controller from the array, the only problem is that the
deallocation method for the window controller seems to be called after
the document is fully released. Shouldn't the window controller be
released right there? The only thing I can think of is that the array
autoreleases the objects it keeps track of. Is there any way to make
the window controller be deallocated right at the time it is removed
from the array?
Thanks!
_______________________________________________
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.