Search the web
Sign In
New User? Sign Up
apache-asp · Apache::ASP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DESTROY in cleanup handler   Message List  
Reply | Forward Message #2262 of 2277 |
Is there a purpose for using a cleanup handler (to call DESTROY) in
Apache::ASP instead of cleaning up at the end of the response handler?

What looks like happened is that due to circular references DESTROY
was not getting called at the end of the request so that a handler was
used to explicitly call DESTROY. But, I'm not clear if there were
other reasons (e.g. need to keep the Apache::ASP object around after
the response was completed). Is there another reason?

The Apache::ASP object holds child objects that reference the
Apache::ASP parent object. Those could be weakened. Also $Session,
$Application, etc. are not localized when running an .asp page so they
hold references until the following request when they are set again
(via InitPackageGlobals).

Thanks,


--
Bill Moseley.
moseley@...
Sent from my iMutt

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@...
For additional commands, e-mail: asp-help@...




Thu Apr 23, 2009 5:47 pm

moseley@...
Send Email Send Email

Forward
Message #2262 of 2277 |
Expand Messages Author Sort by Date

Is there a purpose for using a cleanup handler (to call DESTROY) in Apache::ASP instead of cleaning up at the end of the response handler? What looks like...
Bill Moseley
moseley@...
Send Email
Apr 23, 2009
5:48 pm

Anyone still around that is familiar with Apache::ASP's internals? ... -- Bill Moseley. moseley@... Sent from my iMutt ... To unsubscribe, e-mail:...
Bill Moseley
moseley@...
Send Email
Apr 29, 2009
2:43 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help