diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index 8a4c7d5c1d..321cd5fda0 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -387,8 +387,6 @@ CFrame::~CFrame() #if defined(HAVE_XRANDR) && HAVE_XRANDR delete m_XRRConfig; #endif - - ClosePages(); } bool CFrame::RendererIsFullscreen() @@ -474,6 +472,7 @@ void CFrame::OnClose(wxCloseEvent& event) m_LogWindow = NULL; } + ClosePages(); // Uninit m_Mgr->UnInit();