Feature #61841
closed
Added by Marius Büscher about 10 years ago.
Updated about 9 years ago.
Description
It would be nice to have a shutdown hook called from Bootstrap->shutdown() to do some stuff during shutdown process, e.g. deliver some more content in BigPipe Style.
For the frontend, there is already an "end-of-frontend-rendering" hook that is called shortly before output is started. Is that enough for your purpose?
- Status changed from New to Needs Feedback
1 TYPO3\CMS\Core\Core\Bootstrap::run("typo3/")
/var/www/html/developer/typo3_src-7.3.1/typo3/mod.php:
00022: define('TYPO3_MODE', 'BE');
00023: require __DIR__ . '/sysext/core/Classes/Core/Bootstrap.php';
00024: \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->run('typo3/')->shutdown();
A hook could be added here.
/**
* Things that should be performed to shut down the framework.
* This method is called in all important scripts for a clean
* shut down of the system.
*
* @return Bootstrap
* @internal This is not a public API method, do not use in own extensions
*/
public function shutdown() {
return $this;
}
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Also available in: Atom
PDF