From 177ec9647282461322c8fe565ee989137dc4287d Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sun, 24 Jan 2010 14:14:47 +0000 Subject: [PATCH] Make sure wiiuse is cleaned up on exit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4947 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PluginManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/Src/PluginManager.cpp b/Source/Core/Core/Src/PluginManager.cpp index 35a5e5e930..72fc41bc87 100644 --- a/Source/Core/Core/Src/PluginManager.cpp +++ b/Source/Core/Core/Src/PluginManager.cpp @@ -87,6 +87,7 @@ CPluginManager::~CPluginManager() { if (m_wiimote[i]) { + m_wiimote[i]->Shutdown(); delete m_wiimote[i]; m_wiimote[i] = NULL; }