Commit 7f3fa7c8 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

openal32: Delete the static critical section when unloading the dll.

parent ed03674b
...@@ -106,6 +106,8 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) ...@@ -106,6 +106,8 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
LOADFUNC(alcGetThreadContext); LOADFUNC(alcGetThreadContext);
#undef LOADFUNC #undef LOADFUNC
break; break;
case DLL_PROCESS_DETACH:
DeleteCriticalSection(&openal_cs);
} }
return TRUE; return TRUE;
......
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