cleanup wrap_or_share

Merged Praetorius, Simon requested to merge issue/cleanup_observer into master

Calrify the ownership of the arguments in wrap_or_share.

Edited by Praetorius, Simon

Merge request reports