• 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
Akua Sweets "the image from" memory leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Akua Sweets "the image from" memory leak?


  • Subject: Akua Sweets "the image from" memory leak?
  • From: David Blache <email@hidden>
  • Date: Wed, 22 Nov 2000 18:30:55 -0600

Hi folks,

The following script, saved as an application, will leak memory until the
entire heap is full. I can't figure out a way to get Akua Sweets to dispose
of the image in the application heap.

Is this my fault, or Akua Sweets???

-- start script
-- save as stay-open classic applet
property myFile : ""
property myImage : ""

on run
set myFile to choose file
end run

on idle
-- set myImage to the image from myFile
set myImage to a reference to the image from myFile
set myImage to nothing
return 1
end idle

on quit
set myImage to nothing
continue quit
end quit
-- end script

Any suggestions?

-David


  • Follow-Ups:
    • Re: Akua Sweets "the image from" memory leak?
      • From: David Blache <email@hidden>
    • Re: Akua Sweets "the image from" memory leak?
      • From: Chris Stone <email@hidden>
  • Prev by Date: Re: toggle FMP to OE
  • Next by Date: Re: Word file to Quark file
  • Previous by thread: Re: Most Scriptable Apps (was: Re: Can a script receive AppleEvents?)
  • Next by thread: Re: Akua Sweets "the image from" memory leak?
  • Index(es):
    • Date
    • Thread