Feature #37268
closedBootstrap: Introduce shutdown and use in autoloader
100%
Description
The patch introduces a shutdown method to the bootstrap that can be used to perform clean up and shutdown things at the end of a script run. It is used in the most important entry scripts like FE, mod.php, cli and backend.
First usage of shutdown() is the autoloader: If new classes are found during script run, for example because they stick to the extbase naming scheme and do not have a ext_autoload entry, the autoloader wrote a new cache file for each class it found. Now, the autoloader remembers that the cache file should be updated and delays writing the cache file until it is unregistered. This way it writes the full cache entry only once at the end of a script run.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11279
Updated by Christian Kuhn almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4cef5ef01649f12b0d514079240a8e96197eb6fe.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed