mirror of https://github.com/PCSX2/pcsx2.git
Don't try to close non-existant threads. Prevents a crashing bug in Linux
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@396 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
d01a9c6918
commit
64ca08f02f
|
@ -517,7 +517,7 @@ void gsShutdown()
|
|||
SysPrintf("Closing gs thread\n");
|
||||
GS_SETEVENT();
|
||||
|
||||
thread_close( g_hVuGsThread );
|
||||
if (g_hVuGsThread != NULL) thread_close( g_hVuGsThread );
|
||||
event_destroy( g_hGsEvent );
|
||||
mutex_destroy( gsRingRestartLock );
|
||||
|
||||
|
|
Loading…
Reference in New Issue