Re: dealloc not being called?
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