Stacks in Memory

Knapp Martin martyknappster at gmail.com
Wed Sep 5 13:49:38 EDT 2018


To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I’d set cantDelete to true so that I wouldn’t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I’ve set cantDelete to false for now.

> On Sep 5, 2018, at 10:26 AM, Knapp Martin <martyknappster at gmail.com> wrote:
> 
> I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don’t see “obliterateStacks” in the dictionary ;)
> 
> Marty





More information about the use-livecode mailing list