Reliable way to do something on shutdown?

Paul D. DeRocco pderocco at ix.netcom.com
Tue Jun 18 20:59:15 EDT 2013


> From: Phil Davis
> 
> Maybe a shutDownRequest handler in the script of your 
> mainStack would do 
> the job. In effect this lets you pause the shutdown process before it 
> does anything, make sure your external is closed, then pass 
> shutdownRequest. I think I would start there.

Actually, that's where I did start, and it didn't work either.

> Or 'closeStackRequest' 
> like Terry suggested - it would work in the IDE or the 
> standalone. That might be a better approach.

I'll try that this evening. But I wish I understood why what should
"obviously" work, doesn't.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 





More information about the use-livecode mailing list