• 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 is never being called and application crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealloc is never being called and application crashes


  • Subject: Re: Dealloc is never being called and application crashes
  • From: Frederick Cheung <email@hidden>
  • Date: Tue, 27 Jul 2004 18:03:29 +0200

On 27 Jul 2004, at 14:20, <email@hidden> wrote:

I have the attached project (Xcode) and I can not figure out why the dealloc method never gets called on my MBCText class and my application crashes when I click on File->Codes, select the only line displayed on the table, click on the Edit button and then click on the Cancel button.

Can anybody tell me the reason for that?

I have been trying to find out the reason(s) for that behavior but had no luck so far.

Thanks for any help on this.

Marcos

I have no idea what is wrong is wrong with your app since you haven't shown any code, but one thing that caught me up recently (I'm new to Cocoa) is that you have to release all top level objects in your nib. If the nib is owned by NSWindowController, then releasing the controller will release all the objects in the nib.
Have you tried running your app in the debugger and seeing where it crashes?

Fred
_______________________________________________
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.


  • Prev by Date: Re: performSelector: question
  • Next by Date: Default button surrounded by black square for Panther, not Jaguar
  • Previous by thread: Re: Dealloc is never being called and application crashes
  • Next by thread: performSelector: question
  • Index(es):
    • Date
    • Thread