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:
Glenn Rice 2010-01-24 14:14:47 +00:00
parent 156e357164
commit 177ec96472
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }