The shutdown function should be registered in hook_boot(), not hook_init(). In hook_init() it does not get added on cached pages. This is bad.
Automatically closed -- issue fixed for 2 weeks with no activity.
So, based on #1313912: undefined function node_access_needs_rebuild() on cached anonymous requests, I think this needs to be reverted.
Fixed in the next -dev build:http://drupal.org/commitlog/commit/364/e37bd28c5cca80127c805bd11ef03bfe9...
Okay, wow, that commit stuck the hunk in the wrong place and is essentially totally bogus. Thank you, test suite.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.