mirror of https://github.com/KLayout/klayout.git
Maybe fixed performance issue: usually it's not a good idea to iterate the layout's hierarchy while deleting something from it.
This commit is contained in:
parent
9c62bb015f
commit
61714090e3
|
|
@ -1397,6 +1397,8 @@ DEFImporter::do_read (db::Layout &layout)
|
|||
|
||||
if (! groups.empty ()) {
|
||||
|
||||
db::LayoutLocker locker (&layout);
|
||||
|
||||
others_cell = &layout.cell (layout.add_cell ("NOGROUP"));
|
||||
design.insert (db::CellInstArray (others_cell->cell_index (), db::Trans ()));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue