mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Cleanup concurrently created breps and triangulations
This commit is contained in:
@@ -961,6 +961,16 @@ namespace IfcGeom {
|
|||||||
delete ifc_file;
|
delete ifc_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings.get(IfcGeom::IteratorSettings::DISABLE_TRIANGULATION)) {
|
||||||
|
for (auto& p : all_processed_native_elements_) {
|
||||||
|
delete p;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (auto& p : all_processed_elements_) {
|
||||||
|
delete p;
|
||||||
|
}
|
||||||
|
|
||||||
free_shapes();
|
free_shapes();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user