To add shutdown callbacks, Drupal has drupal_register_shutdown_function(), which catches thrown exceptions to avoid "Exception thrown without a stack frame in Unknown" messages.

In Drupal, drupal_register_shutdown_function() should be preferred to register_shutdown_function().

Issue fork apc-3461880

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed e18f8b9d on 7.x-1.x
    Issue #3461880: Use drupal_register_shutdown_function() to register...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.