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:
parent
156e357164
commit
177ec96472
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue