mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Move the CFrame::ClosePages call from ~CFrame to CFrame::OnClose
This commit is contained in:
parent
380b780dd1
commit
e29de302a6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user