Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
        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();
            }
        }