--- On Fri, 9/12/08, Markus Spoettl <[EMAIL PROTECTED]> wrote:

> I have observed the following in my application:
> 
> When the document is closed while the application keeps
> running, my  
> document, window controller and dependent windows get
> deallocated as  
> expected.
> 
> However, when the document closes while during application 
> 
> termination, the document and window controller get
> deallocated, but  
> the document window are not (as a result lots of other
> things don't  
> get deallocated).

The process's entire memory space is freed when it terminates. Because of this, 
objects may not ever receive a dealloc message. The documentation for 
-[NSObject dealloc] discusses this.

Cheers,
Chuck


      
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to