Re: zend_register_list_destructors_ex problem
| From: | Sean | Date: | Mon, 29 Aug 2005 06:32:54 +0000 |
| Subject: | Re: zend_register_list_destructors_ex problem | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2833@lists.php.net to get a copy of this message | ||
I got it working! The fix was to replace module_number with 0 in my call to
zend_register_list_destructors_ex.
Thanks again
Sean
""Sara Golemon"" <pollita@php.net> wrote in message
news:010001c5a9c4$435a1b30$5c8be5a9@ohr.berkeley.edu...
>> Here's my code that resides in my PHP_MINIT_FUNCTION-
>>
>> le_restype = zend_register_list_destructors_ex(free_res, NULL, "My
> Resource
>> Object", module_number);
>>
>> Does anyone have any insight on why this may be happening?
>>
> Not from just that amount of code, no.
>
> We'd need to see the destructor at the least, preferrably the resource
> generation code too....
>
> -Sara