mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Make sure wiiuse is cleaned up on exit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4947 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -87,6 +87,7 @@ CPluginManager::~CPluginManager()
|
|||||||
{
|
{
|
||||||
if (m_wiimote[i])
|
if (m_wiimote[i])
|
||||||
{
|
{
|
||||||
|
m_wiimote[i]->Shutdown();
|
||||||
delete m_wiimote[i];
|
delete m_wiimote[i];
|
||||||
m_wiimote[i] = NULL;
|
m_wiimote[i] = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user