From af193e9fb320d3b7ca8decab59d7ba074579c21f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 17 Dec 2014 09:47:58 -0800 Subject: Don't kill pulseaudio's mixer thread if it's already killed --- Alc/backends/pulseaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/backends/pulseaudio.c') diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 7ad7dd18..c53283b5 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1048,7 +1048,7 @@ static void ALCpulsePlayback_stop(ALCpulsePlayback *self) pa_operation *o; int res; - if(!self->stream) + if(!self->stream || self->killNow) return; self->killNow = AL_TRUE; -- cgit v1.2.3