CPU thread housekeeping on shutdown

This commit is contained in:
Aaron Culliney 2016-09-17 12:11:10 -07:00
parent 5805822bd4
commit 88ca414f80

View File

@ -506,6 +506,9 @@ static void *cpu_thread(void *dummyptr) {
MB_Destroy();
audio_shutdown();
cpu_thread_id = 0;
cpu_pause();
return NULL;
}