[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [bug] possible pool leak in Ruby bindings for FS?

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-03-15 15:38:04 CET

Hi,

On 3/15/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> Hi,
>
> In <ae6cb1100703142206h1144a285h131c915e31be8ffc@mail.gmail.com>
> "Re: [bug] possible pool leak in Ruby bindings for FS?" on Wed, 14 Mar 2007 22:06:24 -0700,
> "Joe Swatosh" <joe.swatosh@gmail.com> wrote:
>

>
> > Put still errors during teardown:
>
> I found that this problem can be solved by destroying
> stream's pool.
>
> pool = Svn::Core::Pool.new
> stream = @fs.root(rev2).file_delta_stream(@fs.root(rev1),
> path_in_repos,
> path_in_repos,
> pool)
> ...
> pool.destroy
>
> I'll provide more good mechanism. (What about stream.close???)
>

Is this another place for a block-form? That seems most "rubyish."

>
> Thanks,
> --
> kou
>

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 15 15:38:23 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.