From 58aaea6277ec9e878493919d8b1b886a83d4cac3 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sat, 19 Dec 2015 12:22:15 +0100 Subject: [PATCH] Better MTVU thread cancel --- pcsx2/gui/AppInit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/gui/AppInit.cpp b/pcsx2/gui/AppInit.cpp index 4710875bf6..3e66781808 100644 --- a/pcsx2/gui/AppInit.cpp +++ b/pcsx2/gui/AppInit.cpp @@ -717,9 +717,10 @@ Pcsx2App::Pcsx2App() Pcsx2App::~Pcsx2App() { pxDoAssert = pxAssertImpl_LogIt; - if (THREAD_VU1) { + try { vu1Thread.Cancel(); } + DESTRUCTOR_CATCHALL } void Pcsx2App::CleanUp()