From 4ff4a7e3b9897394e33483229855cb073c2e7a32 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 27 Aug 2009 03:12:54 -0700 Subject: Close some libs when deinitializing --- Alc/portaudio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Alc/portaudio.c') diff --git a/Alc/portaudio.c b/Alc/portaudio.c index c50214a2..20bb2d7b 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -253,4 +253,8 @@ void alc_pa_init(BackendFuncs *func_list) void alc_pa_deinit(void) { +#ifdef HAVE_DLFCN_H + dlclose(pa_handle); + pa_handle = NULL; +#endif } -- cgit v1.2.3