That would explain the different behaviours.

Thanks a lot,

Andre Masse


On Dec 1, 2008, at 10:26, Jean-Daniel Dupas wrote:

What I don't understand is why I don't crash if the window is closed from its close box...


The order in which the window go offscreen, the window content is released, etc. is probably not the same if you click on the close button and if you use the close menu. The windows does not use the same code path, It is maybe autoreleased in one case and not in the other, or something else.



_______________________________________________

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