- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abdullah | wmayer | master | 2019-02-09 18:35:40 | master b5f5d1c3 |
Changeset | Geometry extensions: remove unnecessary smart pointer deletion ============================================================== When the geometry object is destroyed, std::vector's destructor is called, which in turn calls the destructor of the smart pointers. If a weak_ptr corresponding to one of those shared_ptr is locked (elsewhere, if FC were multithread), the underlaying resource will not be freed until said locked weak_ptr goes out of scope. It will then. |
|||
mod - src/Mod/Part/App/Geometry.cpp | Diff File |