4.3.4.1 Server Methods

register_cleanup (request, callable[, data])
Registers a cleanup. Very similar to req.register_cleanup(), except this cleanup will be executed at child termination time. This function requires one extra argument - the request object.