[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: |
Thu, 10 Jun 2010 16:29:38 +0200 |
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