• 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: dealloc not being called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dealloc not being called?


  • Subject: Re: dealloc not being called?
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 28 Sep 2001 00:44:30 +0200

Dustin,

>>>>>> Dustin Mierau (DM) wrote at Thu, 27 Sep 2001 12:26:57 -0700:
DM> I have an object that is created when my application is ran,
DM> from a nib file. My awakeFromNib method is being called, my init
DM> method is being called, but for some reason when i quit the app
DM> my dealloc method is not being called.
DM>
DM> Any ideas?

Yep. In this case, dealloc never was, is not, and quite probably never will
be called.

Generally, there is no reason to do that. Almost anything is cleaned up
automatically when applications quits; for the exceptions which prove the
rule use applicationWillTerminate: or the appropriate notification.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >dealloc not being called? (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: AppleScript Studio.
  • Next by Date: Alpha info from NSBitmapImageRep?
  • Previous by thread: Re: dealloc not being called?
  • Next by thread: Re: Panel before sheilding window
  • Index(es):
    • Date
    • Thread