diff options
-rw-r--r-- | Alc/pulseaudio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 46f425ed..db9e06af 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -618,12 +618,10 @@ static void probe_devices(ALboolean capture) ppa_context_unref(context); } ppa_threaded_mainloop_unlock(loop); + ppa_threaded_mainloop_stop(loop); } if(loop) - { - ppa_threaded_mainloop_stop(loop); ppa_threaded_mainloop_free(loop); - } } |