• 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: "Erik M. Buck" <email@hidden>
  • Date: Thu, 27 Sep 2001 16:59:03 -0500

----- Original Message ----- >
>Usually the best way to handle it is to define applicationWillTerminate:
> in NSApplication's delegate. Of course, when writing a preferences pane
> you can't do that, so you're out of luck.
>

You are NOT out of luck. Register for the
NSApplicationWillTerminateNotification notification from ANY class with the
default notification center. However, as already mentioned, memory, open
files, signals, etc. are cleaned up automatically by the operating system.


  • Follow-Ups:
    • Re: dealloc not being called?
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: dealloc not being called? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: NSSocketPort/NSConnections
  • Next by Date: Escaping slash in Services Menu
  • Previous by thread: Re: dealloc not being called?
  • Next by thread: Re: dealloc not being called?
  • Index(es):
    • Date
    • Thread