Fixes potential crash
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@705 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -153,7 +153,11 @@ TFB_mixSDL_UninitSound (void)
|
||||
{
|
||||
int i;
|
||||
|
||||
ConcludeTask (StreamDecoderTask);
|
||||
if (StreamDecoderTask)
|
||||
{
|
||||
ConcludeTask (StreamDecoderTask);
|
||||
StreamDecoderTask = NULL;
|
||||
}
|
||||
|
||||
for (i = 0; i < NUM_SOUNDSOURCES; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user