fix(wrapper): in cpp wrapper do not conserve the taken ref of c object when it…

Merged Ronan requested to merge fix/wrapper-avoid-leaks-with-shared-from-this into master

fix(wrapper): in cpp wrapper do not conserve the taken ref of c object when it exists a cpp shared object

Merge request reports