public override void OnDestroy() { if (viewModel != null) { viewModel.OnIsLoadingChanged -= OnModelLoaded; viewModel.ClientListDataView.Updated -= OnWorkspaceClientsUpdated; viewModel.Dispose(); viewModel = null; } base.OnDestroy(); }
public override void OnDestroy() { viewModel.Dispose(); viewModel = null; base.OnDestroy(); }