Only shutdown video subsytem in sdl_cleanup
commitd8ee7665bfc7846c7fc6bfb96434eca68e5bec1a
authormalc <av1474@comtv.ru>
Sun, 17 May 2009 14:26:05 +0000 (17 18:26 +0400)
committermalc <av1474@comtv.ru>
Sun, 17 May 2009 14:26:52 +0000 (17 18:26 +0400)
treef848cf93e1bd508194db2267c0d4ce6b5e082edd
parent89a740e16cee362318bfd40a88616336bce87e2e
Only shutdown video subsytem in sdl_cleanup

Depending on the order in which atexit handlers are called SDL might
try to join on an audio thread without said thread ever being notified
that it must stop, hence QEMU will forever block in pthread_join call.

Signed-off-by: malc <av1474@comtv.ru>
sdl.c