aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-02 09:27:30 -0800
committerChris Robinson <[email protected]>2012-03-02 09:27:30 -0800
commit7a832c452294414ac5327a3b86965b25ba403522 (patch)
tree54aed9775e9a79f62f6a59cf834ff7249c640c46
parent7d0faba424dbd999b5222a1eeb182f85460e4092 (diff)
Don't unload libpulse
This sometimes spawns esoteric errors in dlclose
-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)