Close Stack Cleanup
Mark Wieder
ahsoftware at sonic.net
Thu Feb 4 20:22:43 EST 2021
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:
on revIDEHandleCloseStackRequest
return "pass"
end revIDEHandleCloseStackRequest
That said, I agree with others that this isn't a Good Idea, and a
cleaning routine in preOpenStack would do the trick nicely.
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list