public void Dispose() { // Clean up whatever we attached / registered for / etc. m_drawingLoopHook?.Dispose(); m_testTug?.Dispose(); m_testTugInstances.ForEach(instance => instance?.Dispose()); m_tireTurning?.Dispose(); m_probe?.Dispose(); m_firstFlightLoopHook?.Dispose(); }
public void Dispose() { // Clean up whatever we attached / registered for / etc. m_drawingLoopHook.Dispose(); testTug.Dispose(); m_probe.Dispose(); if (m_flightLoopHook != null) { m_flightLoopHook.Dispose(); } }