Re: [Newbie] reference count
Re: [Newbie] reference count
- Subject: Re: [Newbie] reference count
- From: kunikyo <email@hidden>
- Date: Sun, 18 May 2003 17:08:00 +0900
Hi John.
Thanks for the response!
On 2003.5.17, at 03:37 AM, John C. Randolph wrote:
(deleted)
The second question is that _myOpenDocuments was not released
after all.
We find [_myOpenDocuments release]; in - (void)dealloc,
but this was not invoked after selecting Quit on menu.
I am afraid of memory leak.
It's not an issue if the program is quitting. When any Mac OS X app
terminates, its memory gets reclaimed. -retain/-release is only
needed for memory management while the app is still running.
I have understood this paragraph.
_______________________________________________
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.