Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SOfaPython/Binding] Add py::keep_alive in Binding_Node.cpp
The object created from python needs special care to avoid being deleted by the python garbage collection mecanisme. In sofa-framework#74 and sofa-framework#75 the smart pointer mecanism was refactored. The refactoring added a py::keep_alive, in addObject but didn't in other functions. The PR fix this.
- Loading branch information