Francois Gouget : openal32: Delete the static critical section when unloading the dll.
Module: wine Branch: master Commit: 7f3fa7c8588f0293538927aefaa1f4d9fd286d6c URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f3fa7c8588f0293538927aefa... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Nov 17 09:53:26 2011 +0100 openal32: Delete the static critical section when unloading the dll. --- dlls/openal32/openal.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c index ec4149c..d3ff07d 100644 --- a/dlls/openal32/openal.c +++ b/dlls/openal32/openal.c @@ -106,6 +106,8 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) LOADFUNC(alcGetThreadContext); #undef LOADFUNC break; + case DLL_PROCESS_DETACH: + DeleteCriticalSection(&openal_cs); } return TRUE;
participants (1)
-
Alexandre Julliard