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
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to