Reliable way to do something on shutdown?
Terry Judd
terry.judd at unimelb.edu.au
Tue Jun 18 21:13:24 EDT 2013
Are you making sure any other open stacks are being closed as well (for example in a closeStack or closeStackRequest message handler)? I've also had trouble with revBrowser in the past and always implicitly 'destroyed' any browser instances as I was cleaning up prior to a quit.
Terry...
On 19/06/2013, at 10:59 AM, Paul D. DeRocco wrote:
>> 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
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
More information about the use-livecode
mailing list