Run object destructors before clearing autoload handler

Our request shutdown procedure cleared the autoload handler
before running destructors of any remaining objects. This was causing
fatals when some of those destructors tried to use a
class/function/constant that hadn't already been autoloaded.
Esse commit está contido em:
bsimmers
2013-07-22 10:16:49 -07:00
commit de Sara Golemon
commit 75751d201c
2 arquivos alterados com 1 adições e 1 exclusões
-1
Ver Arquivo
@@ -7248,7 +7248,6 @@ void VMExecutionContext::requestInit() {
void VMExecutionContext::requestExit() {
treadmillSharedVars();
destructObjects();
syncGdbState();
tx()->requestExit();
Transl::Translator::clearTranslator();