AnsweredAssumed Answered

Capturing SW before it Closes

Question asked by Maynard Viersen on Aug 4, 2010
Latest reply on Aug 6, 2010 by chris misztur

I have a routine that I am running that takes a long time (5-7 min in some cases) to run.  In order not to tie up SW the entire time, I am running it in a separate thread.  The problem comes in if the user decides to exit SW while the routine is still running.  Is there a way to stop SW from shutting down such as a Before_SWApp_Exit trap.  If I can catch it before it shuts down, then I can check to make sure that all of the threads have completed their operations before allowing SW to finish shutting down.

Outcomes