Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move the CFrame::ClosePages call from ~CFrame to CFrame::OnClose
  • Loading branch information
delroth committed Sep 9, 2013
1 parent 380b780 commit e29de30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/DolphinWX/Src/Frame.cpp
Expand Up @@ -387,8 +387,6 @@ CFrame::~CFrame()
#if defined(HAVE_XRANDR) && HAVE_XRANDR
delete m_XRRConfig;
#endif

ClosePages();
}

bool CFrame::RendererIsFullscreen()
Expand Down Expand Up @@ -474,6 +472,7 @@ void CFrame::OnClose(wxCloseEvent& event)
m_LogWindow = NULL;
}

ClosePages();

// Uninit
m_Mgr->UnInit();
Expand Down

0 comments on commit e29de30

Please sign in to comment.