Mercurial > almixer_isolated
changeset 30:a554e41eeb13
Bug fix to move g_inInterruption cleanup outside of #ifdef THREADS block.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Mon, 28 Mar 2011 18:28:14 -0700 |
parents | 1c23805d5ce9 |
children | ad4eb4330fb0 |
files | ALmixer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ALmixer.c Mon Mar 28 16:05:25 2011 -0700 +++ b/ALmixer.c Mon Mar 28 18:28:14 2011 -0700 @@ -7488,10 +7488,10 @@ /* This is safe to call with NULL thread, so we don't need to do anything special for interruptions. */ SDL_WaitThread(Stream_Thread_global, NULL); Stream_Thread_global = NULL; - g_inInterruption = 0; SDL_DestroyMutex(s_simpleLock); #endif + g_inInterruption = 0; /* Delete all the OpenAL sources */ for(i=0; i<Number_of_Channels_global; i++)