aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/pulseaudio.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index c5f9d043..2780c77b 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -1398,11 +1398,7 @@ void alc_pulse_deinit(void)
allCaptureDevNameMap = NULL;
numCaptureDevNames = 0;
-#ifdef HAVE_DYNLOAD
- if(pa_handle)
- CloseLib(pa_handle);
- pa_handle = NULL;
-#endif
+ /* PulseAudio doesn't like being CloseLib'd sometimes */
}
void alc_pulse_probe(enum DevProbe type)