Finally nailed the MTVU zombie processes bug. Thanks a lot for the tip,

@turtleli! Well, at least we hope it's gone for good now ;)
This commit is contained in:
ramapcsx2 2015-12-17 23:19:11 +01:00
parent 3820bf16fd
commit 1111e03901
1 changed files with 5 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#include "AppAccelerators.h" #include "AppAccelerators.h"
#include "ConsoleLogger.h" #include "ConsoleLogger.h"
#include "MSWstuff.h" #include "MSWstuff.h"
#include "MTVU.h" // for thread cancellation on shutdown
#include "Utilities/IniInterface.h" #include "Utilities/IniInterface.h"
#include "DebugTools/Debug.h" #include "DebugTools/Debug.h"
@ -716,6 +717,9 @@ Pcsx2App::Pcsx2App()
Pcsx2App::~Pcsx2App() Pcsx2App::~Pcsx2App()
{ {
pxDoAssert = pxAssertImpl_LogIt; pxDoAssert = pxAssertImpl_LogIt;
if (THREAD_VU1) {
vu1Thread.Cancel();
}
} }
void Pcsx2App::CleanUp() void Pcsx2App::CleanUp()