>
> > >
> > > perl_destruct/perl_free are not called at restart, only
> during child_exit.
> > > it looks like that might need to change to finish the dso puzzle.  I
> > > experienced some problems there, but that was a few years ago, looks
> > > like it's time to revisit.
> > >
> >
> > But it is called when Apache unloads the modules during
> startup. Therefore
>
> not perl_destruct()/perl_free(), they are only called in mod_perl by
> perl_shutdown(), during child_exit().
>
Aah, now I understand. I didn't get it the right way from your first mail.
Yes, perl_destruct()/perl_free() should also be called before the XS
libraries are unloaded, to give perl a chance to cleanup.

Gerald

Reply via email to