Re: Creating list references in handlers. Bad code or bug?
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