Alexandre Julliard : msxml3: Don' t unload external libraries on process shutdown.
Alexandre Julliard
julliard at winehq.org
Tue Apr 30 12:51:28 CDT 2013
Module: wine
Branch: master
Commit: 2710f05cef19a4bb07c63b9c03eb765cf81c6e06
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2710f05cef19a4bb07c63b9c03eb765cf81c6e06
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Apr 30 17:25:29 2013 +0200
msxml3: Don't unload external libraries on process shutdown.
---
dlls/msxml3/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
index da3969e..46742ef 100644
--- a/dlls/msxml3/main.c
+++ b/dlls/msxml3/main.c
@@ -209,7 +209,7 @@ static void init_libxslt(void)
#endif
}
-BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
{
MSXML_hInstance = hInstDLL;
@@ -235,12 +235,12 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(hInstDLL);
break;
case DLL_PROCESS_DETACH:
+ if (reserved) break;
#ifdef SONAME_LIBXSLT
if (libxslt_handle)
{
pxsltCleanupGlobals();
wine_dlclose(libxslt_handle, NULL, 0);
- libxslt_handle = NULL;
}
#endif
#ifdef HAVE_LIBXML2
More information about the wine-cvs
mailing list