• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Newbie] reference count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: [Newbie] reference count (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: [Newbie] Do I need to learn Java to create Audio Unit plug-ins?
  • Next by Date: Re: [Newbie] reference count
  • Previous by thread: Re: [Newbie] reference count
  • Next by thread: Re: [Newbie] reference count
  • Index(es):
    • Date
    • Thread