• 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
dealloc never called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: dealloc never called
      • From: Charlton Wilbur <email@hidden>
    • Re: dealloc never called
      • From: Michael Rothwell <email@hidden>
  • Prev by Date: Re: Basic issues regarding Tables
  • Next by Date: Re: dealloc never called
  • Previous by thread: NSView Stacked Mouse Moves
  • Next by thread: Re: dealloc never called
  • Index(es):
    • Date
    • Thread