mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00: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:
parent
156e357164
commit
177ec96472
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue