Alexandre Julliard : openal32: Don' t bother to delete critical sections at process exit.
Module: wine Branch: master Commit: d6b7b7b6f01e79e6721ff5db721e72133db7e091 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6b7b7b6f01e79e6721ff5db72... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu May 16 12:53:59 2013 +0200 openal32: Don't bother to delete critical sections at process exit. --- dlls/openal32/openal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c index d3ff07d..5a4e1e7 100644 --- a/dlls/openal32/openal.c +++ b/dlls/openal32/openal.c @@ -107,6 +107,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) #undef LOADFUNC break; case DLL_PROCESS_DETACH: + if (reserved) break; DeleteCriticalSection(&openal_cs); }
participants (1)
-
Alexandre Julliard