private async void Cleanup(BaseViewModel viewModel) { await Task.Yield(); if (mWaiting.Contains(viewModel)) { viewModel.Dispose(); } }
public void Dispose() { BaseViewModel?.Dispose(); }