<rdar://problem/13259230>

Remember to set m_profile_thread to NULL once the profile thread is turned off.