You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Graham Dumpleton (JIRA)" <ji...@apache.org> on 2005/03/26 00:33:23 UTC

[jira] Commented: (MODPYTHON-37) Add apache.register_cleanup().

     [ http://issues.apache.org/jira/browse/MODPYTHON-37?page=comments#action_61574 ]
     
Graham Dumpleton commented on MODPYTHON-37:
-------------------------------------------

This may not be straightforward. See comments from FAQ entry:

  http://www.modpython.org/FAQ/faqw.py?req=show&file=faq03.011.htp

> Add apache.register_cleanup().
> ------------------------------
>
>          Key: MODPYTHON-37
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-37
>      Project: mod_python
>         Type: New Feature
>   Components: core
>     Versions: 3.1.4
>     Reporter: Graham Dumpleton
>     Priority: Minor

>
> The only way to register cleanup methods to be executed upon child termination
> is through req.server.register_cleanup(). Since the cleanup method isn't specific
> to a request, it seems that there should also be an apache.register_cleanup(). This
> would allow cleanup function registration upon child termination to be done from
> a module imported using the PythonImport directive.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira