Re: Removing a stack from memory...

2018-05-15 Thread Bob Sneidar via use-livecode
Don't you have to send "close me" in time? How do you close a stack with a running script? Bob S > On May 15, 2018, at 24:28 , AndyP via use-livecode > wrote: > > This is my go-to routine for quitting applications which seems always to get > the job done. > > //General quit routine > > on

Re: Removing a stack from memory...

2018-05-15 Thread AndyP via use-livecode
This is my go-to routine for quitting applications which seems always to get the job done. //General quit routine on quitMyProject lock messages -- stop using stacks put the stacksInUse into myStacks repeat for each line myStack in myStacks stop using stack myStack end repeat

Re: Removing a stack from memory...

2018-05-14 Thread Paul Dupuis via use-livecode
I wish LiveCode, Ltd would add a counterpart to revLoadedStacks() called revUnloadStack that would do ALL the steps needed to really close and remove a stack from memory i.e it would set destroyStack to true, cantDelete to false, detect if it was the stack containing the running script and if so,

Re: Removing a stack from memory...

2018-05-14 Thread Bob Sneidar via use-livecode
It's the stacks in the STANDALONE that are still open I believe. I think this because at one point there was an LC version that was confusing the source stack and the standalone stack, and as a result it was overwriting my stackfiles in the source stack with the locations of the standalone files

Re: Removing a stack from memory...

2018-05-14 Thread Paul Dupuis via use-livecode
NEVER MIND "Delete stack" is the answer. I should have known. I just wasn't associating "Delete" with "removing from memory" On 5/14/2018 3:19 PM, Paul Dupuis via use-livecode wrote: > I know this has been discussed before, so my apologies that my Google-Fu > has failed to find any prior answer.