SRNicoNico.ViewModels.VideoViewModel.DisposeViewModel C# (CSharp) Метод

DisposeViewModel() публичный Метод

public DisposeViewModel ( ) : void
Результат void
        public async void DisposeViewModel() {

            //ウェブブラウザ開放
            await DispatcherHelper.UIDispatcher.BeginInvoke(new Action(() => {

                //UIスレッドじゃないとAccessViolationになる時がある
                Handler?.Dispose();
                VideoFlash = null;
                Controller = null;
                FullScreenVideoFlash = null;
                FullScreenController = null;

                Dispose();
            }));

        }