gnash-commit
[Top][All Lists]
Advanced

[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: Bastiaan Jacques
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:21:47 +0200 (CEST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

+    while ( !_resList.empty() ) {
+        delete _resList.front();
     }

Is there some outside influence that will change _resList.size() during
the execution of this loop?

Bastiaan

On Thu, 10 Jun 2010, Sandro Santilli wrote:

------------------------------------------------------------
revno: 12236
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Thu 2010-06-10 14:31:18 +0200
message:
 rewrite reslist scan to be safe in case of list change on delete of GcResources
modified:
 libbase/GC.cpp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]