[ http://issues.apache.org/jira/browse/MODPYTHON-37?page=all ]
     
Graham Dumpleton closed MODPYTHON-37:
-------------------------------------


Although closing this issue, should be noted that both 
apache.register_cleanup() and req.server.register_cleanup() may need to be 
deprecated and removed. This is because the only mechanism for having a cleanup 
function run on server shutdown is error prone as it invokes stuff from a 
signal handler. See MODPYTHON-109.

> 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
>      Fix For: 3.2.7
>  Attachments: register_cleanup.diff.txt
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to