[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r12236: rewrite reslist scan to
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-commit] /srv/bzr/gnash/trunk r12236: rewrite reslist scan to be safe in case of list change on delete of GcResources |
Date: |
Fri, 11 Jun 2010 01:03:18 +0200 |
Now your question made lots of sense.
Sorry for the broken commit.
A revert is in progress (it takes much less to write this mail
than for bzr to send the 4 lines of diff ... doh!)
--strk;
On Thu, Jun 10, 2010 at 04:29:38PM +0200, Sandro Santilli wrote:
> On Thu, Jun 10, 2010 at 04:21:47PM +0200, Bastiaan Jacques wrote:
> > + while ( !_resList.empty() ) {
> > + delete _resList.front();
> > }
> >
> > Is there some outside influence that will change _resList.size() during
> > the execution of this loop?
>
> Not at the moment, and maybe never.
> But one of the ideas for RC/GC mix was that deleting the GcResource
> would possibly remove an element of _resList.
>
> --strk;
>
> () Free GIS & Flash consultant/developer
> /\ http://strk.keybit.net/services.html
>
> _______________________________________________
> Gnash-commit mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-commit
--
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html