cleaner shutdown

This commit is contained in:
Glenn Maynard
2004-01-03 03:37:53 +00:00
parent a99d648da5
commit 0cc7d74e3e
@@ -42,7 +42,7 @@ void RageSound_ALSA9::MixerThread()
if( stream_pool[i]->state == stream_pool[i]->INACTIVE )
continue; /* inactive */
while( stream_pool[i]->GetData(false) )
while( !shutdown && stream_pool[i]->GetData(false) )
;
}
}