Fixed #1167 (delete_cells slow)

This commit is contained in:
Matthias Koefferlein 2022-11-01 14:57:39 +01:00
parent 9f2cf7275f
commit c8e60d666c
1 changed files with 2 additions and 0 deletions

View File

@ -795,6 +795,8 @@ Layout::delete_cells (const std::set<cell_index_type> &cells_to_delete)
}
}
db::LayoutLocker locker (this);
// Clear all instances
for (std::set<cell_index_type>::const_iterator c = cells_to_delete.begin (); c != cells_to_delete.end (); ++c) {