GenCAD exporter: clear shape name maps when export is finished
Otherwise the maps could contain stale data leading to a crash
This commit is contained in:
parent
125781c7e1
commit
bb68dad77c
|
@ -352,6 +352,9 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
|
|||
module->SetFlag( 0 );
|
||||
}
|
||||
}
|
||||
|
||||
componentShapes.clear();
|
||||
shapeNames.clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue