• 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: Creating list references in handlers. Bad code or bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating list references in handlers. Bad code or bug?


  • Subject: Re: Creating list references in handlers. Bad code or bug?
  • From: Christopher Nebel <email@hidden>
  • Date: Wed, 3 Oct 2001 15:06:32 -0700

On Wednesday, October 3, 2001, at 05:06 AM, Bourque, Jason wrote:

Does this mean that

"That means you're working with a copy of the original data."

This repeated enough could cause memory leak and crash a script?

No, because AppleScript is garbage-collected. If no one retains a value, it gets cleaned up automatically. (This is not to say AppleScript never leaks -- it has in the past, and there's at least one known case now -- but not because of this type of thing.)


--Chris Nebel
AppleScript Engineering


References: 
 >RE: Creating list references in handlers. Bad code or bug? (From: "Bourque, Jason" <email@hidden>)

  • Prev by Date: Re: Creating list references in handlers. Bad code or bug?
  • Next by Date: Re: Applescript Studio Announced Today
  • Previous by thread: RE: Creating list references in handlers. Bad code or bug?
  • Next by thread: What about facespan
  • Index(es):
    • Date
    • Thread