protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     msLogger?.Dispose();
     msLogger = null;
     mpiLogger?.Dispose();
     mpiLogger = null;
     MediaPlayerHelper.CleanUpMediaPlayerSource(mediaPlayerElement.MediaPlayer);
 }
예제 #2
0
        protected override void OnNavigatedFrom(NavigationEventArgs e)
        {
            foreach (var mpiLogger in mpiLoggerList)
            {
                mpiLogger.Dispose();
            }
            mpiLoggerList.Clear();
            mpLogger?.Dispose();
            mpLogger = null;

            MediaPlayerHelper.CleanUpMediaPlayerSource(mp);
            playbackList.Items.Clear();
            playlistView.Items.Clear();
        }
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     MediaPlayerHelper.CleanUpMediaPlayerSource(mediaPlayerElement.MediaPlayer);
 }
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     MediaPlayerHelper.CleanUpMediaPlayerSource(mp);
     playbackList.Items.Clear();
     playlistView.Items.Clear();
 }