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:
Maciej Suminski 2017-10-19 11:43:54 +02:00
parent 125781c7e1
commit bb68dad77c
1 changed files with 3 additions and 0 deletions

View File

@ -352,6 +352,9 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
module->SetFlag( 0 );
}
}
componentShapes.clear();
shapeNames.clear();
}