diff options
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -541,15 +541,15 @@ static void alc_deinit(void) for(i = 0;BackendList[i].Deinit;i++) BackendList[i].Deinit(); - if(LogFile != stderr) - fclose(LogFile); - LogFile = NULL; - tls_delete(LocalContext); FreeALConfig(); ALTHUNK_EXIT(); DeleteCriticalSection(&g_csMutex); + + if(LogFile != stderr) + fclose(LogFile); + LogFile = NULL; } |