Salome HOME
Fix RemoveIObject method
authorapo <apo@opencascade.com>
Tue, 31 May 2005 14:19:33 +0000 (14:19 +0000)
committerapo <apo@opencascade.com>
Tue, 31 May 2005 14:19:33 +0000 (14:19 +0000)
*** Abort *** an exception was raised, but no catch was found.
... The exception is:0x40efb11b : Standard_NoMoreObject: TCollection_ListIteratorOfList

src/SVTK/SVTK_Selector.cxx

index 63a28eab0ded281e8413c86f9bba7237c799a8c4..cacf000816068b255d4edf7e7103ee4016722914 100644 (file)
@@ -137,6 +137,7 @@ SVTK_Selector
        myMapIOSubIndex.UnBind(theIO);
       myIObjects.Remove(anIter);
       anIsIOBound = true; 
+      break;
     }
   }
 
@@ -164,6 +165,7 @@ SVTK_Selector
        myMapIOSubIndex.UnBind(anIO);
       myIObjects.Remove(anIter);
       anIsIOBound = true; 
+      break;
     }
   }