Module shutdown order again

From: Date: Sat, 17 Aug 2013 11:37:30 +0000
Subject: Module shutdown order again
Groups: php.internals 
Request: Send a blank email to internals+get-68551@lists.php.net to get a copy of this message
Looking at https://bugs.php.net/bug.php?id=65463 My brain is foggy on why we call zend_destroy_modules() before zend_hash_destroy(GLOBAL_CLASS_TABLE) in zend_shutdown(). Anyone remember the reason? I have verified the issue described in 65463. On a SIGTERM to Apache mid-request, the extension ends up getting unloaded before the global class table is destroyed causing the segfault described in the bug. -Rasmus

« previous php.internals (#68551) next »