S
Stefan Drissen
Guest
[quote user="PhilF"] Would it make sense to use a FINALLY clause to ensure that resources (such as persistent procedures) are properly cleaned out? [/quote] The FINALLY block is not executed when a STOP condition is raised. A STOP condition is raised by CANCEL-REQUESTS() (sent from client to asynch appserver) or by a LOCK WAIT TIMEOUT (defaults to 10 seconds for WebSpeed agents) . In 11.7 the -catchStop startup parameter was added which partially numbs the pain - but even with this parameter enabled the FINALLY block is only executed if there is a CATCH Progress.Lang.Stop. So FINALLY becomes a diluted 'if you're lucky and have met all the preconditions, we may finally' block.
Continue reading...
Continue reading...