Better MTVU thread cancel

This commit is contained in:
ramapcsx2 2015-12-19 12:22:15 +01:00
parent 1111e03901
commit 58aaea6277
1 changed files with 2 additions and 1 deletions

View File

@ -717,9 +717,10 @@ Pcsx2App::Pcsx2App()
Pcsx2App::~Pcsx2App() Pcsx2App::~Pcsx2App()
{ {
pxDoAssert = pxAssertImpl_LogIt; pxDoAssert = pxAssertImpl_LogIt;
if (THREAD_VU1) { try {
vu1Thread.Cancel(); vu1Thread.Cancel();
} }
DESTRUCTOR_CATCHALL
} }
void Pcsx2App::CleanUp() void Pcsx2App::CleanUp()