winealsa.drv: Don't bother to delete critical sections at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-16 12:54:34 +02:00
parent 0b8c655591
commit d2f41e762a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}