diff --git a/src/Calculator/App.xaml.cpp b/src/Calculator/App.xaml.cpp index 29b39115..b43f1e22 100644 --- a/src/Calculator/App.xaml.cpp +++ b/src/Calculator/App.xaml.cpp @@ -139,14 +139,6 @@ void App::RemoveWindowFromMap(int viewId) m_secondaryWindows.erase(viewId); } -void App::RemoveWindow(_In_ WindowFrameService ^ frameService) -{ - // Shell does not allow killing the main window. - if (m_mainViewId != frameService->GetViewId()) - { - HandleViewReleaseAndRemoveWindowFromMap(frameService); - } -} task App::HandleViewReleaseAndRemoveWindowFromMap(_In_ WindowFrameService ^ frameService) {