Commit d6b7b7b6 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 5c8ffb79
...@@ -107,6 +107,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) ...@@ -107,6 +107,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
#undef LOADFUNC #undef LOADFUNC
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (reserved) break;
DeleteCriticalSection(&openal_cs); DeleteCriticalSection(&openal_cs);
} }
......
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