Rules governing stack purging

J. Landman Gay jacque at hyperactivesw.com
Tue Oct 31 14:38:51 EST 2006


Richard Gaskin wrote:

> Here's a circumstance in which I don't know what the result would be:
> 
> You have a stack file with mainstack "A" and substack "B", both with 
> their destroyStack set to true.  You open substack "B", which causes the 
> whole stackfile to be read into memory, but do not open stack "A".
> 
> When you close stack "B", does the stackfile remain in memory?
> 

Yes, because destroystack is ignored for substacks. It is impossible to 
remove a substack from RAM until the whole stackfile is removed.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list