mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Attempt to workaround some stop hangs by using MsgWait instead of Wait. change order of dsp / video shutdown. some comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2379 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -208,17 +208,6 @@ void CPluginManager::ShutdownPlugins()
|
||||
//m_wiimote[i] = NULL;
|
||||
}
|
||||
|
||||
if (m_video)
|
||||
{
|
||||
m_video->Shutdown();
|
||||
// With this option, this is done on boot instead
|
||||
#ifndef SETUP_DONT_FREE_PLUGIN_ON_STOP
|
||||
delete m_video;
|
||||
m_video = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
if (m_dsp)
|
||||
{
|
||||
m_dsp->Shutdown();
|
||||
@ -228,6 +217,16 @@ void CPluginManager::ShutdownPlugins()
|
||||
m_dsp = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (m_video)
|
||||
{
|
||||
m_video->Shutdown();
|
||||
// With this option, this is done on boot instead
|
||||
#ifndef SETUP_DONT_FREE_PLUGIN_ON_STOP
|
||||
delete m_video;
|
||||
m_video = NULL;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
//////////////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user