mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Revert "Leak an object when quitting Dolphin to try and fix issue 6546"
This reverts commit380b780dd1
. Revert "Move the CFrame::ClosePages call from ~CFrame to CFrame::OnClose" This reverts commite29de302a6
.
This commit is contained in:
@ -387,6 +387,10 @@ CFrame::~CFrame()
|
|||||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||||
delete m_XRRConfig;
|
delete m_XRRConfig;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
ClosePages();
|
||||||
|
|
||||||
|
delete m_Mgr;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CFrame::RendererIsFullscreen()
|
bool CFrame::RendererIsFullscreen()
|
||||||
@ -472,7 +476,6 @@ void CFrame::OnClose(wxCloseEvent& event)
|
|||||||
m_LogWindow = NULL;
|
m_LogWindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClosePages();
|
|
||||||
|
|
||||||
// Uninit
|
// Uninit
|
||||||
m_Mgr->UnInit();
|
m_Mgr->UnInit();
|
||||||
|
Reference in New Issue
Block a user