Replace assert in destructors by a specific fonction that will break in debug