public void Shutdown() { // Set the views to null so that the garbage collector can collect them. emailLayoutViewModel.EmailListView = null; emailLayoutViewModel.EmailView = null; }