trace: Check for destroy before calling it