Revision: 4456
          http://cel.svn.sourceforge.net/cel/?rev=4456&view=rev
Author:   jorrit
Date:     2011-09-22 04:37:13 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
Better delete protection in psmeshsel again.

Modified Paths:
--------------
    cel/trunk/plugins/propclass/mesh/meshfact.cpp

Modified: cel/trunk/plugins/propclass/mesh/meshfact.cpp
===================================================================
--- cel/trunk/plugins/propclass/mesh/meshfact.cpp       2011-09-22 04:27:00 UTC 
(rev 4455)
+++ cel/trunk/plugins/propclass/mesh/meshfact.cpp       2011-09-22 04:37:13 UTC 
(rev 4456)
@@ -1507,7 +1507,8 @@
   while (it.HasNext ())
   {
     celPcMeshSelect* pcmeshsel = it.Next ();
-    pcmeshsel->HandleEvent (ev);
+    if (!todo_rem_listeners.Contains (pcmeshsel))
+      pcmeshsel->HandleEvent (ev);
   }
   if (ev.Name != csevMouseMove (name_reg, 0))
   {
@@ -1515,7 +1516,8 @@
     while (it.HasNext ())
     {
       celPcMeshSelect* pcmeshsel = it.Next ();
-      pcmeshsel->HandleEvent (ev);
+      if (!todo_rem_listeners.Contains (pcmeshsel))
+        pcmeshsel->HandleEvent (ev);
     }
   }
   CS_ASSERT (is_iterating);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Cel-cvs-update mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cel-cvs-update

Reply via email to