home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18747 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.3 KB  |  29 lines

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