Did you check revLoadedStacks()?

Marty

> On Sep 5, 2018, at 11:25 AM, Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hmmm... I have all three set on my mainstack and when I close it, the stack 
> and it's substacks are not in memory. However, stacks I started using are. 
> 
> Bob S
> 
> 
> 
>> On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> 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 <martyknapps...@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
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to