Closed (outdated)
Project:
CAPTCHA
Version:
6.x-2.x-dev
Component:
Image Captcha (image_captcha)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2011 at 08:11 UTC
Updated:
27 Sep 2019 at 20:16 UTC
Jump to comment: Most recent
Comments
Comment #1
soxofaan commentedHi,
I've just went through the drupal core code and modules and found quite a bit of places where exit() was used, but none of them were preceded with a hook_exit() trigger (except page caching handling in bootstrap.inc). For example:
upload module (for json responses)
system module (for phpinfo page)
openId module (for redirects)
book module (for json responses)
I also found some instances in file.inc and xmlrpcs.inc.
So, I'm not sure that not calling
module_invoke_all('exit');is actually unclean termination.Do you have documentation or guidelines about this?
Comment #2
TonyK commentedI have created an issue in Drupal core for that: #1305814: hook_exit() description is misleading.
Comment #3
elachlan commentedWaiting for documentation.
Comment #4
wundo commentedComment #5
wundo commented