public void Shutdown() { // Set the views to null so that the garbage collector can collect them. contactLayoutViewModel.ContactListView = null; contactLayoutViewModel.ContactView = null; }
private void CloseAddressBook() { shellService.ClearToolBarCommands(); activeContactController?.Shutdown(); activeContactController = null; }