Exemple #1
0
        public void Dispose()
        {
            StartLoopChannelSyncs.ForEach(sync => sync.Dispose());
            StartBoostChannelSyncs.ForEach(sync => sync.Dispose());
            StartJumpChannelSyncs.ForEach(sync => sync.Dispose());
            StartFlightChannelSyncs.ForEach(sync => sync.Dispose());
            LoopChannelSyncs.ForEach(sync => sync.Dispose());
            JumpChannelSyncs.ForEach(sync => sync.Dispose());
            FlightChannelSyncs.ForEach(sync => sync.Dispose());

            StartLoopChannelHandle?.Dispose();
            StartBoostChannelHandle?.Dispose();
            StartJumpChannelHandle?.Dispose();
            StartFlightChannelHandle?.Dispose();
            LoopChannelHandle?.Dispose();
            JumpChannelHandle?.Dispose();
            FlightChannelHandle?.Dispose();
        }