diff --git a/src/db/db/dbLayout.cc b/src/db/db/dbLayout.cc index 067ffc03b..51f249d58 100644 --- a/src/db/db/dbLayout.cc +++ b/src/db/db/dbLayout.cc @@ -795,6 +795,8 @@ Layout::delete_cells (const std::set &cells_to_delete) } } + db::LayoutLocker locker (this); + // Clear all instances for (std::set::const_iterator c = cells_to_delete.begin (); c != cells_to_delete.end (); ++c) {