delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5fb23f879e
commit
ba7f7cd8b7
|
@ -176,6 +176,7 @@ void Stop() // - Hammertime!
|
|||
Host_SetWaitCursor(true);
|
||||
if (PowerPC::state == PowerPC::CPU_POWERDOWN)
|
||||
return;
|
||||
|
||||
// stop the CPU
|
||||
PowerPC::state = PowerPC::CPU_POWERDOWN;
|
||||
|
||||
|
@ -189,7 +190,7 @@ void Stop() // - Hammertime!
|
|||
PluginVideo::Video_Stop();
|
||||
#endif
|
||||
|
||||
//delete g_pThread; //Wait for emuthread to close
|
||||
delete g_pThread; //Wait for emuthread to close
|
||||
g_pThread = 0;
|
||||
Core::StopTrace();
|
||||
LogManager::Shutdown();
|
||||
|
|
Loading…
Reference in New Issue