Fix false error output when no callback passed to destroy()