internal void ImportDisc() { AudioCdRipper ripper = null; try { if (AudioCdRipper.Supported) { ripper = new AudioCdRipper(this); ripper.Finished += OnRipperFinished; ripper.Start(); } } catch (Exception e) { Log.Error(Catalog.GetString("Could not import CD"), e.Message, true); Log.Error(e); if (ripper != null) { ripper.Dispose(); } } }
internal void ImportDisc () { AudioCdRipper ripper = null; try { if (AudioCdRipper.Supported) { ripper = new AudioCdRipper (this); ripper.Finished += OnRipperFinished; ripper.Start (); } } catch (Exception e) { if (ripper != null) { ripper.Dispose (); } Log.Error (Catalog.GetString ("Could not import CD"), e.Message, true); Log.Exception (e); } }