Corrupted Stacks

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 28 18:47:56 EST 2020


I'm wondering if save stack returns anything in the result so you can check for success?

Bob S


> On Jan 28, 2020, at 14:19 , Marty Knapp via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I have an app in which users create documents (stacks) that auto-save when they're closed. I have a a few customers who are getting corrupted stacks every once in a while. At least in a couple of cases they are saving to a network server or over an internet connection. In some cases it seems to occur when they quit with a stack open. I've attempted to script around this by checking for the tilde version of the file and if it exists to pause quitting.
> 
> I would say the stack size varies between 1 to 5 mb in size. App build with LC 9.5.1 and a mix of Mac and Windows standalones.
> 
> Does anyone have any input with my shutdown routine? Ways of making it more robust?





More information about the use-livecode mailing list