Salome HOME
Issue #20469: crash when creating wire
[modules/shaper.git] / src / BuildPlugin / BuildPlugin_Wire.cpp
index e56d0b2d1cb58339e01c5afabf70d3814d9c99e2..c1bf527de0c9762c20c932fadb8c3f258a95bc30 100644 (file)
@@ -409,6 +409,7 @@ bool buildSketchWires(FeaturePtr theSketchFeature, GeomShapePtr theSketchShape,
               break;
             }
           aNewWires.erase(aFoundEnd->second);
+          aMapVW.erase(aFoundStart);
           aMapVW.erase(aFoundEnd);
         }
         continue;