Fix destroy logs

Devel::StackTrace stores an internal reference and an exception is launched in a DESTROY sub