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:
arcum42 2008-12-06 22:13:21 +00:00 committed by Gregory Hainaut
parent d01a9c6918
commit 64ca08f02f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );