diff --git a/QuickViewFile/Controls/VideoPlayerControl.xaml.cs b/QuickViewFile/Controls/VideoPlayerControl.xaml.cs index c276249..cb9407c 100644 --- a/QuickViewFile/Controls/VideoPlayerControl.xaml.cs +++ b/QuickViewFile/Controls/VideoPlayerControl.xaml.cs @@ -263,8 +263,6 @@ protected virtual void Dispose(bool disposing) videoInWindowPlayer.Close(); } - // TODO: free unmanaged resources (unmanaged objects) and override finalizer - // TODO: set large fields to null disposedValue = true; } } @@ -300,13 +298,6 @@ public TimeSpan GetCurrentVideoPosition() return TimeSpan.FromSeconds(sliProgress.Value); } - // // TODO: override finalizer only if 'Dispose(bool disposing)' has code to free unmanaged resources - // ~videoInWindowPlayerControl() - // { - // // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method - // Dispose(disposing: false); - // } - public void Dispose() { // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method