winecoreaudio.drv: Don't bother to delete critical sections at process exit.
This commit is contained in:
parent
d2f41e762a
commit
d47d03d26a
|
@ -263,6 +263,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