diff options
author | Chris Robinson <[email protected]> | 2018-03-10 12:10:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-03-10 12:10:58 -0800 |
commit | dac93794491a9219ebdc6815244db76244f45b09 (patch) | |
tree | 2e821c0a7b68c594c0f084c8b1033bdb1a8b554a /Alc/ALc.c | |
parent | a6ddeaf5f190a3640f816a4767ffa8b10fbd1b5d (diff) |
Add methods to clean up althrd and altss data
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |