Merge pull request #129 from acmiyaguchi/master

Fix a hang after failing to run an *.elf file and stopping emulator
This commit is contained in:
Hykem 2014-03-28 04:52:51 +00:00
commit e03b68f12f

View File

@ -30,7 +30,7 @@ CPUThread::~CPUThread()
void CPUThread::Close() void CPUThread::Close()
{ {
ThreadBase::Stop(); ThreadBase::Stop(m_sync_wait);
DoStop(); DoStop();
delete m_dec; delete m_dec;