[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000118.004] DynaLoader doesn't dlclose XS code on interpreter



On Sat, 22 Jan 2000 16:56:29 GMT, Nick Ing-Simmons wrote:
>Tim Bunce <Tim.Bunce@ig.co.uk> writes:
>>
>>Good point, but I'm not so sure. Objects have been cleaned, via
>>sv_clean_objs(), before the END blocks are called.  
>
>I don't think so. But if true that might explain why I get 
>uses of undefined values in my END blocks ...

END blocks are called just before perl_run() returns.  Global object
destruction happens in perl_destruct().

Scheduling dlclose()s using call_atexit() ought to work.  I'm going
to let the interested parties test that and send me a patch.


Sarathy
gsar@ActiveState.com


Follow-Ups from:
Alan Burlison <Alan.Burlison@uk.sun.com>
References to:
Nick Ing-Simmons <nick@ing-simmons.net>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]