Stacks that won't delete
pete at lcsql.com
Thu Jul 9 20:29:09 CEST 2015
Yes, I seem to remember the result was time sensitive too and that it
worked OK when stepping through with debug, which also extends the time
between operations of course. Only difference is that I have experienced
this off and on over several years whereas it seems your script has worked
OK until recently.
On Thu, Jul 9, 2015 at 11:25 AM J. Landman Gay <jacque at hyperactivesw.com>
> On 7/8/2015 5:37 PM, Peter Haworth wrote:
> > Probably not helpful, but I've had issues for a long time with delete
> > not removing it from RAM, over several releases of LC. It usually
> > manifests itself when I "save as", followed by a "delete stack", followed
> > by opening the original stack, at which point I get the dreaded message
> > about "duplicate stack names and what do I want to do" message.
> That may be a clue. I set the filename of the newly created stack, save
> it to disk, and then delete it, which is what "save as" does too. So
> maybe it's linked to that.
> The odd part is that it has worked for 2 years and suddenly stopped
> working, even though the script hasn't changed and the LC version is the
> same. Also, if we step through the process in the debugger, the stacks
> are removed correctly. It's only when the script runs without pause that
> it fails, and even then only sporadically.
> I'll try saving the stack earlier in the process and see if that makes a
> difference. Maybe it only gets removed from RAM if the OS has had time
> to register the new file in its database. That sounds like a stretch to
> me, but it's all I can think of.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode