Important desctructors adding

Signed-off-by: Nans Plancher <nans.plancher@gmail.com>