aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 8a2f67aa..eee17768 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -813,6 +813,7 @@ BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD reason, LPVOID lpReserved)
break;
case DLL_THREAD_DETACH:
+ althrd_thread_detach();
break;
case DLL_PROCESS_DETACH:
@@ -1260,6 +1261,8 @@ static void alc_deinit_safe(void)
if(LogFile != stderr)
fclose(LogFile);
LogFile = NULL;
+
+ althrd_deinit();
}
static void alc_deinit(void)