|
What methods is everyone using to cleanup there globals after modules/programs end, but while a activation group is still active. For example we have a CGI program that runs with a named activation group. It calls many sub-procedures in many modules it multiple service programs. In some of the modules there are a few global variables, and we would like to have these reset once the CGI program ends because the job and the activation group stay active and get reused. So far the best we have been able to come up with is to have each module set a global array in another module with the name of it's cleanup procedure, and then in the CGI program before LR call a master cleanup procedure that executes all procedures in its global array. Any better suggestions? I have also noticed many people talking about CEE4RAGE, but I don't really see the point because the activation group is already ended and everything should get cleaned up by that anyway. Or am I missing something? Thanks, Chris
------------------------------------------------- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distributing or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. The Evangelical Lutheran Good Samaritan Society. ---------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.