Close Stack Cleanup
bobsneidar at iotecdigital.com
Fri Feb 5 14:28:55 EST 2021
Nice try but sadly it does not work. The message does not even get sent to the stack script.
On Feb 4, 2021, at 5:22 PM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
On 2/4/21 4:19 PM, Bob Sneidar via use-livecode wrote:
NVM I found this bug has already been submitted… IN 2008! LOL! https://quality.livecode.com/show_bug.cgi?id=4617 Hey Kevin! <poke>
Looking at that, here's a (completely untested) suggestion:
The revIDEHandleCloseStackRequest handler is in the IDE backscript, so it's ready to be overridden. If you don't override it then it executes a revSaveCheck before moving on. If you override this command then you might get what you want.
...at the risk of losing data...
so maybe in your stack script you have:
That said, I agree with others that this isn't a Good Idea, and a cleaning routine in preOpenStack would do the trick nicely.
ahsoftware at gmail.com<mailto:ahsoftware at gmail.com>
More information about the use-livecode