Commit d2f41e76 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 0b8c6555
...@@ -238,6 +238,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved) ...@@ -238,6 +238,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (reserved) break;
DeleteCriticalSection(&g_sessions_lock); DeleteCriticalSection(&g_sessions_lock);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment