예제 #1
0
 public void Unload()
 {
     SaveSettings();
     Library.SaveToDatabase();
     LoopLibrary.SaveToCache();
     BassPlayer.Dispose();
     MidiManager.Dispose();
 }
예제 #2
0
 public void Dispose()
 {
     _midiDevice?.Close();
     _midiDevice?.Dispose();
     _portInfo?.Dispose();
     _deviceInfo?.Dispose();
     _midiPort?.Dispose();
     _midiManager?.Dispose();
 }