winealsa.drv: Don't bother to delete critical sections at process exit.
This commit is contained in:
parent
0b8c655591
commit
d2f41e762a
|
@ -238,6 +238,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
|
|||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (reserved) break;
|
||||
DeleteCriticalSection(&g_sessions_lock);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue