This issue has been moved from the `zendframework` repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html --- Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7518 User: @ThaDafinser Created On: 2015-05-13T09:08:48Z Updated At: 2015-11-06T21:39:31Z Body If a fatal error comes up, the `register_shutdown_function` is called like wanted here: https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Logger.php#L617-L643 But the writers `$writer->shutdown()` function never gets called, so e.g. an eMail wont be send. https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Writer/Mail.php#L173 ---
This issue has been moved from the
zendframeworkrepository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7518
User: @ThaDafinser
Created On: 2015-05-13T09:08:48Z
Updated At: 2015-11-06T21:39:31Z
Body
If a fatal error comes up, the
register_shutdown_functionis called like wanted here:https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Logger.php#L617-L643
But the writers
$writer->shutdown()function never gets called, so e.g. an eMail wont be send.https://github.com/zendframework/zf2/blob/master/library/Zend/Log/Writer/Mail.php#L173