From a19a11b0674844dd007f48931edb3436e267bdbe Mon Sep 17 00:00:00 2001 From: Clifford Matthews Date: Sun, 14 Jun 2009 15:53:20 -0600 Subject: [PATCH] Fixed hang at exit for Mac OS X port. --- src/config/sound/sdl/sdl-sound.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/sound/sdl/sdl-sound.c b/src/config/sound/sdl/sdl-sound.c index c99f45b..6d2741b 100644 --- a/src/config/sound/sdl/sdl-sound.c +++ b/src/config/sound/sdl/sdl-sound.c @@ -205,6 +205,8 @@ sound_sdl_shutdown (sound_driver_t *s) /* possibly kill the thread here */ have_sound_p = FALSE; } + + sdl_stream = NULL; } static void