[TASK] Don't use destructor as shutdown function 77/24277/4
authorThorsten Kahler <thorsten.kahler@typo3.org>
Wed, 2 Oct 2013 14:48:29 +0000 (16:48 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 10 Nov 2013 11:40:10 +0000 (12:40 +0100)
GeneralUtility::makeInstanceService() registers service classes'
destructors as shutdown functions. This has two drawbacks:
* destructors are called twice usually
* service classes need to have destructors

The shutdown function for temp file cleanup in AbstractService is
registered on demand instead.

Change-Id: I0c41d821dc2279eeb126badf306f73d3b53b3010
Resolves: #52463
Releases: 6.2
Reviewed-on: https://review.typo3.org/24277
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Markus Klein
Tested-by: Markus Klein

No differences found