home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!apple!mumbo.apple.com!gallant.apple.com!kip2-36.apple.com!user
- From: jpugh@apple.com (Jon Pugh)
- Subject: Re: Do I need to remove Apple event handlers at end of my code?
- Sender: news@gallant.apple.com
- Message-ID: <jpugh-201192223442@kip2-36.apple.com>
- Date: Sat, 21 Nov 1992 06:37:43 GMT
- References: <goodill_eric-201192083407@ericg.cpd.tandem.com>
- Organization: Apple Computer, Inc.
- Followup-To: comp.sys.mac.programmer
- Lines: 16
-
- In article <goodill_eric-201192083407@ericg.cpd.tandem.com>,
- goodill_eric@tandem.com (Eric Goodill) wrote:
- >
- > I'm testing the Apple event waters. Everything seems to be going just
- > fine, but I have a question about whether I need to deinstall the Apple
- > event handlers that I installed at the beginning of my code? IM 6
- > documents the remove routine, but doesn't say whether my code must remove
- > the handlers explicitly or the OS just figures it out when my program
- > stops. I currently do not remove the handlers, and everything seems fine.
-
- Your application event table is removed automagically when your app quits.
- You should always remove any System handlers though. They are not removed
- when you quit and will point into space if you do quit without removing
- them.
-
- Jon
-