On Mon, 27 Nov 2006, Tim Jenness wrote: > The real problem may be that hdsStop should not be using emsBegin if it is > being called as an exit handler. Brian warned me against that before when I > merged hds1_exit and hdsStop. I think what is needed is a 3rd routine called > by both hds1_exit and hdsStop that will do what hdsStop does but leaving the > ems code in hdsStop. Done. Implemented as hds1_cleanup. hds1_exit and hdsStop both use it now. Cheers, Brad.