diff options
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 4f39afb5..88f381b9 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -704,5 +704,11 @@ LOAD_FUNC(pa_threaded_mainloop_lock); void alc_pulse_deinit(void) //{{{ { +#ifdef _WIN32 + FreeLibrary(pa_handle); +#elif defined (HAVE_DLFCN_H) + dlclose(pa_handle); +#endif + pa_handle = NULL; } //}}} //}}} |