dealloc never called
dealloc never called
- Subject: dealloc never called
- From: Philipp Ringli <email@hidden>
- Date: Mon, 7 Feb 2005 01:59:35 +0100
I have this code in my Controller.m and it never executes upon quitting
the app:
----------------------------------------
- (void)dealloc
{
NSLog (@"dealloc!");
[self saveData]; // just to be sure that the
// latest data is saved to disk
[prefs synchronize];
[prefs release];
[classPathRecords release];
//[recordsFile release];
// recordsFile = nil;
classPathRecords = nil;
prefs = nil;
[super dealloc]; // pass the ball to Controller's
// superclass so it can do its own deallocation
}
-----------------------------------------
Probably again something basic, I am missing?
Cheers,
Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden