Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:


So how do we clean them up? Last time you said that you do want to
remove them


With either *apr_bucket_destroy* or *apr_brigade_cleanup*, which
is what I've been saying all along.

You were saying delete (which is remove+destroy): http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=109285355117298&w=2

      $b->delete; # APR::Bucket needs to wrap apr_bucket_delete(),
                  # since APR_BUCKET_REMOVE() doesn't actually
                  # decrement the bucket refcount
                  # so the bucket allocator can reclaim $b

and I've missed the difference between delete and remove. My bad.

So yes, we need to provide a delete() wrapper and use that.

And hopefully one day someone will resolve the problems with $bb->cleanup on win32.

Thanks Joe!

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to