ZE2 and object destruction ...
| From: | l0t3k | Date: | Tue, 27 Aug 2002 12:49:47 +0000 |
| Subject: | ZE2 and object destruction ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87521@lists.php.net to get a copy of this message | ||
i've noticed that in ZE2 that object autodestruction (ala
zend_objects_store_call_destructors) happens _after_ a module's RSHUTDOWN,
which causes some interesting lifetime management issues in an extension im
writing. in particular, the Zend objects wrap some in-memory structures from
a library which handles its own cleanup (the cleanup function is called in
RSHUTDOWN).
forgive me if this reveals my ignorance of engine internals, but shouldnt
the object destruction sequence precede a module's request shutdown ?
l0t3k